#AFCB4E#AFCB4E

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

Color values

HEX#AFCB4E
RGBrgb(175, 203, 78)
HSLhsl(73, 55%, 55%)
HSVhsv(73, 62%, 80%)
CMYKcmyk(13.8%, 0%, 61.6%, 20.4%)
CIE-LABlab(77.51, -27.07, 57.49)
CIE-LCHlch(77.51, 63.55, 115.21°)
OKLaboklab(79.68% -0.0783 0.132)
OKLCHoklch(79.68% 0.153 120.7)
XYZxyz(40.4108, 52.3760, 15.1869)
Luminance0.5238 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCB4E #6A4ECB
analogous
#CBA84E #AFCB4E #70CB4E
triadic
#AFCB4E #4EAFCB #CB4EAF
tetradic
#AFCB4E #4ECBA8 #6A4ECB #CB4E70
square
#AFCB4E #4ECBA8 #6A4ECB #CB4E70
split-complementary
#AFCB4E #4E70CB #A84ECB
monochromatic
#677B24 #8FAA32 #AFCB4E #C4D97D #DAE7AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFCB4E#FFFFFF#000000##000000
##AFCB4E1.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)
#D7C03F
Deuteranopia (green-blind)
#D3C057
Tritanopia (blue-blind)
#B8C1B1
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #afcb4e;
/* rgb */ color: rgb(175, 203, 78);
/* oklch */ color: oklch(79.7% 0.153 120.7);
Tailwind
colors: {
  custom: {
    50: '#cada85',
    500: '#afcb4e',
    950: '#000000',
  },
}
SCSS
$custom: #afcb4e;
$custom-light: #cada85;
$custom-dark: #000000;
JSON
{
  "hex": "#afcb4e",
  "rgb": {
    "r": 175,
    "g": 203,
    "b": 78
  },
  "hsl": {
    "h": 73.44,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.79677,
    "c": 0.15346,
    "h": 120.7
  },
  "luminance": 0.52376
}

Semantic roles & 50–950 ramp

primary
#AFCB4E
secondary
#4B3A83
accent
#4ADE6B
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #AFCB4E

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

Preview Lab → · Contrast checker → · Palette generator →

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