#AFAA3E#AFAA3E

#AFAA3E is a light, vivid yellow. Relative luminance 0.382; OKLCH L 72.2% C 0.128 H 106.7°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#AFAA3E
RGBrgb(175, 170, 62)
HSLhsl(57, 48%, 46%)
HSVhsv(57, 65%, 69%)
CMYKcmyk(0%, 2.9%, 64.6%, 31.4%)
CIE-LABlab(68.18, -11.68, 54.31)
CIE-LCHlch(68.18, 55.55, 102.14°)
OKLaboklab(72.16% -0.0368 0.123)
OKLCHoklch(72.16% 0.128 106.7)
XYZxyz(32.9246, 38.2123, 10.1979)
Luminance0.3821 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAA3E #3E43AF
analogous
#AF723E #AFAA3E #7CAF3E
triadic
#AFAA3E #3EAFAA #AA3EAF
tetradic
#AFAA3E #3EAF72 #3E43AF #AF3E7C
square
#AFAA3E #3EAF72 #3E43AF #AF3E7C
split-complementary
#AFAA3E #3E7CAF #723EAF
monochromatic
#55521E #827E2E #AFAA3E #C8C363 #D8D490

Accessibility & contrast

On white

2.43
#AFAA3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#AFAA3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAA3E
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAA3E#FFFFFF#000000##000000
##AFAA3E1.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A430
Deuteranopia (green-blind)
#BAA845
Tritanopia (blue-blind)
#BB9F94
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #afaa3e;
/* rgb */ color: rgb(175, 170, 62);
/* oklch */ color: oklch(72.2% 0.128 106.7);
Tailwind
colors: {
  custom: {
    50: '#cac379',
    500: '#afaa3e',
    950: '#000000',
  },
}
SCSS
$custom: #afaa3e;
$custom-light: #cac379;
$custom-dark: #000000;
JSON
{
  "hex": "#afaa3e",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 62
  },
  "hsl": {
    "h": 57.345,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.72164,
    "c": 0.12835,
    "h": 106.7
  },
  "luminance": 0.38211
}

Semantic roles & 50–950 ramp

primary
#AFAA3E
secondary
#8689C3
accent
#56D751
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#141209
muted
#82817B

Preview Lab

Preview with #AFAA3E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#AFAA3E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva