#AFCB5E#AFCB5E

#AFCB5E is a light, vivid yellow-green. Relative luminance 0.526; OKLCH L 79.8% C 0.140 H 121.6°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#AFCB5E
RGBrgb(175, 203, 94)
HSLhsl(75, 51%, 58%)
HSVhsv(75, 54%, 80%)
CMYKcmyk(13.8%, 0%, 53.7%, 20.4%)
CIE-LABlab(77.66, -25.74, 50.54)
CIE-LCHlch(77.66, 56.72, 116.99°)
OKLaboklab(79.85% -0.0731 0.1188)
OKLCHoklch(79.85% 0.14 121.6)
XYZxyz(41.0558, 52.6340, 18.5840)
Luminance0.5263 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCB5E #7A5ECB
analogous
#CBB05E #AFCB5E #78CB5E
triadic
#AFCB5E #5EAFCB #CB5EAF
tetradic
#AFCB5E #5ECBB0 #7A5ECB #CB5E78
square
#AFCB5E #5ECBB0 #7A5ECB #CB5E78
split-complementary
#AFCB5E #5E78CB #B05ECB
monochromatic
#6D842B #93B23A #AFCB5E #C6DA8C #DDE9BB

Accessibility & contrast

On white

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

On black

11.53
#AFCB5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCB5E
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCB5E#FFFFFF#000000##000000
##AFCB5E1.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C053
Deuteranopia (green-blind)
#D2C065
Tritanopia (blue-blind)
#B7C2B3
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #afcb5e;
/* rgb */ color: rgb(175, 203, 94);
/* oklch */ color: oklch(79.8% 0.140 121.6);
Tailwind
colors: {
  custom: {
    50: '#c9da8f',
    500: '#afcb5e',
    950: '#000000',
  },
}
SCSS
$custom: #afcb5e;
$custom-light: #c9da8f;
$custom-dark: #000000;
JSON
{
  "hex": "#afcb5e",
  "rgb": {
    "r": 175,
    "g": 203,
    "b": 94
  },
  "hsl": {
    "h": 75.413,
    "s": 51.174,
    "l": 58.235
  },
  "oklch": {
    "l": 0.7985,
    "c": 0.13953,
    "h": 121.6
  },
  "luminance": 0.52634
}

Semantic roles & 50–950 ramp

primary
#AFCB5E
secondary
#55428B
accent
#4DDB72
background
#FEFEFC
surface
#FAFBF4
border
#D3D4CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFCB5E

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

Preview Lab → · Contrast checker → · Palette generator →

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