#AFCB59#AFCB59

#AFCB59 is a light, vivid yellow-green. Relative luminance 0.525; OKLCH L 79.8% C 0.144 H 121.3°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#AFCB59
RGBrgb(175, 203, 89)
HSLhsl(75, 52%, 57%)
HSVhsv(75, 56%, 80%)
CMYKcmyk(13.8%, 0%, 56.2%, 20.4%)
CIE-LABlab(77.61, -26.18, 52.77)
CIE-LCHlch(77.61, 58.91, 116.39°)
OKLaboklab(79.79% -0.0748 0.1232)
OKLCHoklch(79.79% 0.144 121.3)
XYZxyz(40.8387, 52.5471, 17.4404)
Luminance0.5255 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCB59 #7559CB
analogous
#CBAE59 #AFCB59 #76CB59
triadic
#AFCB59 #59AFCB #CB59AF
tetradic
#AFCB59 #59CBAE #7559CB #CB5976
square
#AFCB59 #59CBAE #7559CB #CB5976
split-complementary
#AFCB59 #5976CB #AE59CB
monochromatic
#6B8128 #92B037 #AFCB59 #C5DA88 #DCE8B6

Accessibility & contrast

On white

1.82
#AFCB59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.51
#AFCB59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCB59
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCB59#FFFFFF#000000##000000
##AFCB591.001.8211.5111.51
#FFFFFF1.821.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C04D
Deuteranopia (green-blind)
#D3C060
Tritanopia (blue-blind)
#B7C2B2
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #afcb59;
/* rgb */ color: rgb(175, 203, 89);
/* oklch */ color: oklch(79.8% 0.144 121.3);
Tailwind
colors: {
  custom: {
    50: '#c9da8c',
    500: '#afcb59',
    950: '#000000',
  },
}
SCSS
$custom: #afcb59;
$custom-light: #c9da8c;
$custom-dark: #000000;
JSON
{
  "hex": "#afcb59",
  "rgb": {
    "r": 175,
    "g": 203,
    "b": 89
  },
  "hsl": {
    "h": 74.737,
    "s": 52.294,
    "l": 57.255
  },
  "oklch": {
    "l": 0.79792,
    "c": 0.14412,
    "h": 121.3
  },
  "luminance": 0.52547
}

Semantic roles & 50–950 ramp

primary
#AFCB59
secondary
#513F89
accent
#4CDC6F
background
#FEFEFC
surface
#FAFBF4
border
#D3D4CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFCB59

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

Preview Lab → · Contrast checker → · Palette generator →

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