#AFB24E#AFB24E

#AFB24E is a light, vivid yellow. Relative luminance 0.415; OKLCH L 74.1% C 0.123 H 110.6°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#AFB24E
RGBrgb(175, 178, 78)
HSLhsl(62, 39%, 50%)
HSVhsv(62, 56%, 70%)
CMYKcmyk(1.7%, 0%, 56.2%, 30.2%)
CIE-LABlab(70.53, -14.67, 49.77)
CIE-LCHlch(70.53, 51.88, 106.42°)
OKLaboklab(74.09% -0.0435 0.1155)
OKLCHoklch(74.09% 0.123 110.6)
XYZxyz(34.9756, 41.5056, 13.3752)
Luminance0.4150 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB24E #514EB2
analogous
#B2834E #AFB24E #7DB24E
triadic
#AFB24E #4EAFB2 #B24EAF
tetradic
#AFB24E #4EB283 #514EB2 #B24E7D
square
#AFB24E #4EB283 #514EB2 #B24E7D
split-complementary
#AFB24E #4E7DB2 #834EB2
monochromatic
#5C5D29 #85883B #AFB24E #C2C579 #D6D7A3

Accessibility & contrast

On white

2.26
#AFB24E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.30
#AFB24E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB24E
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB24E#FFFFFF#000000##000000
##AFB24E1.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAB44
Deuteranopia (green-blind)
#BFAE54
Tritanopia (blue-blind)
#BAA89C
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #afb24e;
/* rgb */ color: rgb(175, 178, 78);
/* oklch */ color: oklch(74.1% 0.123 110.6);
Tailwind
colors: {
  custom: {
    50: '#c9c883',
    500: '#afb24e',
    950: '#000000',
  },
}
SCSS
$custom: #afb24e;
$custom-light: #c9c883;
$custom-dark: #000000;
JSON
{
  "hex": "#afb24e",
  "rgb": {
    "r": 175,
    "g": 178,
    "b": 78
  },
  "hsl": {
    "h": 61.8,
    "s": 39.37,
    "l": 50.196
  },
  "oklch": {
    "l": 0.74086,
    "c": 0.12342,
    "h": 110.6
  },
  "luminance": 0.41505
}

Semantic roles & 50–950 ramp

primary
#AFB24E
secondary
#9998C4
accent
#59CF5C
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #AFB24E

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

Preview Lab → · Contrast checker → · Palette generator →

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