#AFCB3A#AFCB3A

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

Color values

HEX#AFCB3A
RGBrgb(175, 203, 58)
HSLhsl(72, 58%, 51%)
HSVhsv(72, 71%, 80%)
CMYKcmyk(13.8%, 0%, 71.4%, 20.4%)
CIE-LABlab(77.36, -28.34, 65.16)
CIE-LCHlch(77.36, 71.06, 113.51°)
OKLaboklab(79.51% -0.0837 0.1452)
OKLCHoklch(79.51% 0.168 120)
XYZxyz(39.7996, 52.1315, 11.9679)
Luminance0.5213 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCB3A #563ACB
analogous
#CB9E3A #AFCB3A #66CB3A
triadic
#AFCB3A #3AAFCB #CB3AAF
tetradic
#AFCB3A #3ACB9E #563ACB #CB3A66
square
#AFCB3A #3ACB9E #563ACB #CB3A66
split-complementary
#AFCB3A #3A66CB #9E3ACB
monochromatic
#5E6E1D #889E2A #AFCB3A #C3D86A #D6E59B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFCB3A#FFFFFF#000000##000000
##AFCB3A1.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)
#D8BF20
Deuteranopia (green-blind)
#D4BF46
Tritanopia (blue-blind)
#B9C0AF
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #afcb3a;
/* rgb */ color: rgb(175, 203, 58);
/* oklch */ color: oklch(79.5% 0.168 120.0);
Tailwind
colors: {
  custom: {
    50: '#cada7a',
    500: '#afcb3a',
    950: '#000000',
  },
}
SCSS
$custom: #afcb3a;
$custom-light: #cada7a;
$custom-dark: #000000;
JSON
{
  "hex": "#afcb3a",
  "rgb": {
    "r": 175,
    "g": 203,
    "b": 58
  },
  "hsl": {
    "h": 71.586,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.79513,
    "c": 0.1676,
    "h": 120
  },
  "luminance": 0.52131
}

Semantic roles & 50–950 ramp

primary
#AFCB3A
secondary
#3F3277
accent
#46E164
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #AFCB3A

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

Preview Lab → · Contrast checker → · Palette generator →

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