#AFCB4F#AFCB4F

#AFCB4F is a light, vivid yellow-green. Relative luminance 0.524; OKLCH L 79.7% C 0.153 H 120.8°. Best body text is #000000 at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#AFCB4F
RGBrgb(175, 203, 79)
HSLhsl(74, 54%, 55%)
HSVhsv(74, 61%, 80%)
CMYKcmyk(13.8%, 0%, 61.1%, 20.4%)
CIE-LABlab(77.51, -26.99, 57.08)
CIE-LCHlch(77.51, 63.14, 115.31°)
OKLaboklab(79.69% -0.078 0.1312)
OKLCHoklch(79.69% 0.153 120.8)
XYZxyz(40.4469, 52.3904, 15.3772)
Luminance0.5239 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCB4F #6B4FCB
analogous
#CBA94F #AFCB4F #71CB4F
triadic
#AFCB4F #4FAFCB #CB4FAF
tetradic
#AFCB4F #4FCBA9 #6B4FCB #CB4F71
square
#AFCB4F #4FCBA9 #6B4FCB #CB4F71
split-complementary
#AFCB4F #4F71CB #A94FCB
monochromatic
#687B24 #8FAA32 #AFCB4F #C4D97E #DAE7AD

Accessibility & contrast

On white

1.83
#AFCB4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.48
#AFCB4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCB4F
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCB4F#FFFFFF#000000##000000
##AFCB4F1.001.8311.4811.48
#FFFFFF1.831.0021.0021.00
#00000011.4821.001.001.00
##00000011.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C040
Deuteranopia (green-blind)
#D3C057
Tritanopia (blue-blind)
#B8C1B1
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #afcb4f;
/* rgb */ color: rgb(175, 203, 79);
/* oklch */ color: oklch(79.7% 0.153 120.8);
Tailwind
colors: {
  custom: {
    50: '#c9da85',
    500: '#afcb4f',
    950: '#000000',
  },
}
SCSS
$custom: #afcb4f;
$custom-light: #c9da85;
$custom-dark: #000000;
JSON
{
  "hex": "#afcb4f",
  "rgb": {
    "r": 175,
    "g": 203,
    "b": 79
  },
  "hsl": {
    "h": 73.548,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.79687,
    "c": 0.15265,
    "h": 120.8
  },
  "luminance": 0.5239
}

Semantic roles & 50–950 ramp

primary
#AFCB4F
secondary
#4B3B83
accent
#4ADE6B
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#13140B
muted
#83837E

Preview Lab

Preview with #AFCB4F

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

Preview Lab → · Contrast checker → · Palette generator →

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