#AFCB62#AFCB62

#AFCB62 is a light, vivid yellow-green. Relative luminance 0.527; OKLCH L 79.9% C 0.136 H 121.9°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#AFCB62
RGBrgb(175, 203, 98)
HSLhsl(76, 50%, 59%)
HSVhsv(76, 52%, 80%)
CMYKcmyk(13.8%, 0%, 51.7%, 20.4%)
CIE-LABlab(77.70, -25.36, 48.72)
CIE-LCHlch(77.70, 54.92, 117.50°)
OKLaboklab(79.9% -0.0717 0.1152)
OKLCHoklch(79.9% 0.136 121.9)
XYZxyz(41.2400, 52.7076, 19.5539)
Luminance0.5271 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCB62 #7E62CB
analogous
#CBB362 #AFCB62 #7BCB62
triadic
#AFCB62 #62AFCB #CB62AF
tetradic
#AFCB62 #62CBB3 #7E62CB #CB627B
square
#AFCB62 #62CBB3 #7E62CB #CB627B
split-complementary
#AFCB62 #627BCB #B362CB
monochromatic
#6E862C #94B43C #AFCB62 #C6DA90 #DEE9BE

Accessibility & contrast

On white

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

On black

11.54
#AFCB62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCB62
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCB62#FFFFFF#000000##000000
##AFCB621.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C158
Deuteranopia (green-blind)
#D2C068
Tritanopia (blue-blind)
#B6C2B3
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #afcb62;
/* rgb */ color: rgb(175, 203, 98);
/* oklch */ color: oklch(79.9% 0.136 121.9);
Tailwind
colors: {
  custom: {
    50: '#c9da91',
    500: '#afcb62',
    950: '#000000',
  },
}
SCSS
$custom: #afcb62;
$custom-light: #c9da91;
$custom-dark: #000000;
JSON
{
  "hex": "#afcb62",
  "rgb": {
    "r": 175,
    "g": 203,
    "b": 98
  },
  "hsl": {
    "h": 76,
    "s": 50.239,
    "l": 59.02
  },
  "oklch": {
    "l": 0.79899,
    "c": 0.13573,
    "h": 121.9
  },
  "luminance": 0.52708
}

Semantic roles & 50–950 ramp

primary
#AFCB62
secondary
#57448D
accent
#4EDA73
background
#FEFEFC
surface
#FAFBF4
border
#D3D4CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFCB62

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

Preview Lab → · Contrast checker → · Palette generator →

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