#AFA24E#AFA24E

#AFA24E is a light, moderate yellow. Relative luminance 0.355; OKLCH L 70.6% C 0.107 H 100.6°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#AFA24E
RGBrgb(175, 162, 78)
HSLhsl(52, 38%, 50%)
HSVhsv(52, 55%, 69%)
CMYKcmyk(0%, 7.4%, 55.4%, 31.4%)
CIE-LABlab(66.14, -6.31, 44.74)
CIE-LCHlch(66.14, 45.19, 98.02°)
OKLaboklab(70.59% -0.0196 0.1047)
OKLCHoklch(70.59% 0.107 100.6)
XYZxyz(31.9758, 35.5059, 12.3752)
Luminance0.3550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA24E #4E5BAF
analogous
#AF724E #AFA24E #8CAF4E
triadic
#AFA24E #4EAFA2 #A24EAF
tetradic
#AFA24E #4EAF72 #4E5BAF #AF4E8C
square
#AFA24E #4EAF72 #4E5BAF #AF4E8C
split-complementary
#AFA24E #4E8CAF #724EAF
monochromatic
#5A5428 #857B3B #AFA24E #C3B978 #D6CFA2

Accessibility & contrast

On white

2.59
#AFA24E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#AFA24E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA24E
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA24E#FFFFFF#000000##000000
##AFA24E1.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9E46
Deuteranopia (green-blind)
#B3A352
Tritanopia (blue-blind)
#BB988F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #afa24e;
/* rgb */ color: rgb(175, 162, 78);
/* oklch */ color: oklch(70.6% 0.107 100.6);
Tailwind
colors: {
  custom: {
    50: '#c9bd82',
    500: '#afa24e',
    950: '#000000',
  },
}
SCSS
$custom: #afa24e;
$custom-light: #c9bd82;
$custom-dark: #000000;
JSON
{
  "hex": "#afa24e",
  "rgb": {
    "r": 175,
    "g": 162,
    "b": 78
  },
  "hsl": {
    "h": 51.959,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.70594,
    "c": 0.10652,
    "h": 100.6
  },
  "luminance": 0.35505
}

Semantic roles & 50–950 ramp

primary
#AFA24E
secondary
#969CC3
accent
#69CE5A
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #AFA24E

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

Preview Lab → · Contrast checker → · Palette generator →

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