Skip to the color picker

#afa142 color: Martian

#afa142 is rgb(175, 161, 66) in RGB and oklch(70.243% 0.11646 100.954) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

52°
100%

70.2%
0.116
101°
  • Yellow
  • Light
  • Vivid
  • Neutral
  • ≈ Camel
  • yellow-600
  • Black 31%

Inside sRGB: displays the same on any screen.

White text
2.63:1Hard to read
Lc -56
Black text
8.00:1Readable · AA
Lc 53

Shades

From lightest to darkest. Click a shade to use it.

Harmonies

Open as palette

Recent

Colors you stop on or copy appear here. They stay on this device.

About #afa142

#afa142 is a bright light yellow color. In OKLCH it has 70.2% lightness, 0.116 chroma and a hue of 101°.

Inside sRGB: displays the same on any screen.

White text on it reaches 2.63:1 contrast and black text 8:1, so black text reads better.

The closest named color is Martian (#aea132). In Tailwind CSS the closest color is yellow-600.

More light yellow colors

Lighter: #afa142 mixed with white

  1. afa142
  2. b7aa58
  3. beb46c
  4. c6bd7f
  5. cec792
  6. d6d0a4
  7. ded9b6
  8. e6e3c9
  9. eeecdb
  10. f7f6ed

Darker: #afa142 mixed with black

  1. afa142
  2. 988b38
  3. 81762f
  4. 6b6225
  5. 564e1c
  6. 413c14
  7. 2e2a0b
  8. 1c1905
  9. 0b0901
  10. 010100

Calmer: #afa142 with less saturation

  1. afa142
  2. ada14f
  3. aca15a
  4. aaa164
  5. a8a16e
  6. a7a177
  7. a5a07f
  8. a4a088
  9. a2a090
  10. a09f97

Questions about #afa142

What color is #afa142?

#afa142 is bright light yellow. The closest named color is Martian. In RGB it is rgb(175, 161, 66), in HSL hsl(52.29, 45.23%, 47.25%) and in OKLCH oklch(70.243% 0.11646 100.954).

What colors go well with #afa142?

The complementary color of #afa142 is #9296e6. For a calmer combination use the analogous colors #cc9246 and #85ae5f. The triadic partners are #31afd2 and #d081b5.

Is white or black text more readable on #afa142?

Black text reads better on #afa142: white gives a contrast ratio of 2.63:1 and black gives 8:1. WCAG AA asks for at least 4.5:1 for body text.

Is #afa142 a warm or cool color?

#afa142 is a neutral color. In OKLCH its hue is 101 degrees, its lightness 70.2% and its chroma 0.116.