#AFCB3B#AFCB3B

#AFCB3B is a light, vivid yellow-green. Relative luminance 0.521; OKLCH L 79.5% C 0.167 H 120.0°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#AFCB3B
RGBrgb(175, 203, 59)
HSLhsl(72, 58%, 51%)
HSVhsv(72, 71%, 80%)
CMYKcmyk(13.8%, 0%, 70.9%, 20.4%)
CIE-LABlab(77.37, -28.29, 64.81)
CIE-LCHlch(77.37, 70.72, 113.58°)
OKLaboklab(79.52% -0.0835 0.1446)
OKLCHoklch(79.52% 0.167 120)
XYZxyz(39.8253, 52.1418, 12.1032)
Luminance0.5214 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCB3B #573BCB
analogous
#CB9F3B #AFCB3B #67CB3B
triadic
#AFCB3B #3BAFCB #CB3BAF
tetradic
#AFCB3B #3BCB9F #573BCB #CB3B67
square
#AFCB3B #3BCB9F #573BCB #CB3B67
split-complementary
#AFCB3B #3B67CB #9F3BCB
monochromatic
#5F6E1D #889F2A #AFCB3B #C3D86B #D6E59C

Accessibility & contrast

On white

1.84
#AFCB3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.43
#AFCB3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCB3B
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCB3B#FFFFFF#000000##000000
##AFCB3B1.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF22
Deuteranopia (green-blind)
#D4BF47
Tritanopia (blue-blind)
#B9C0AF
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #afcb3b;
/* rgb */ color: rgb(175, 203, 59);
/* oklch */ color: oklch(79.5% 0.167 120.0);
Tailwind
colors: {
  custom: {
    50: '#cada7a',
    500: '#afcb3b',
    950: '#000000',
  },
}
SCSS
$custom: #afcb3b;
$custom-light: #cada7a;
$custom-dark: #000000;
JSON
{
  "hex": "#afcb3b",
  "rgb": {
    "r": 175,
    "g": 203,
    "b": 59
  },
  "hsl": {
    "h": 71.667,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.7952,
    "c": 0.16699,
    "h": 120
  },
  "luminance": 0.52142
}

Semantic roles & 50–950 ramp

primary
#AFCB3B
secondary
#403378
accent
#47E165
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #AFCB3B

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

Preview Lab → · Contrast checker → · Palette generator →

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