#AFCB3E#AFCB3E

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

Color values

HEX#AFCB3E
RGBrgb(175, 203, 62)
HSLhsl(72, 58%, 52%)
HSVhsv(72, 69%, 80%)
CMYKcmyk(13.8%, 0%, 69.5%, 20.4%)
CIE-LABlab(77.38, -28.12, 63.74)
CIE-LCHlch(77.38, 69.67, 113.81°)
OKLaboklab(79.54% -0.0828 0.1428)
OKLCHoklch(79.54% 0.165 120.1)
XYZxyz(39.9053, 52.1738, 12.5248)
Luminance0.5217 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCB3E #5A3ECB
analogous
#CBA13E #AFCB3E #69CB3E
triadic
#AFCB3E #3EAFCB #CB3EAF
tetradic
#AFCB3E #3ECBA1 #5A3ECB #CB3E69
square
#AFCB3E #3ECBA1 #5A3ECB #CB3E69
split-complementary
#AFCB3E #3E69CB #A13ECB
monochromatic
#60701E #89A12B #AFCB3E #C3D86E #D7E59E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFCB3E#FFFFFF#000000##000000
##AFCB3E1.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)
#D8BF27
Deuteranopia (green-blind)
#D4BF49
Tritanopia (blue-blind)
#B9C0AF
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #afcb3e;
/* rgb */ color: rgb(175, 203, 62);
/* oklch */ color: oklch(79.5% 0.165 120.1);
Tailwind
colors: {
  custom: {
    50: '#cada7c',
    500: '#afcb3e',
    950: '#000000',
  },
}
SCSS
$custom: #afcb3e;
$custom-light: #cada7c;
$custom-dark: #000000;
JSON
{
  "hex": "#afcb3e",
  "rgb": {
    "r": 175,
    "g": 203,
    "b": 62
  },
  "hsl": {
    "h": 71.915,
    "s": 57.551,
    "l": 51.961
  },
  "oklch": {
    "l": 0.79542,
    "c": 0.16508,
    "h": 120.1
  },
  "luminance": 0.52174
}

Semantic roles & 50–950 ramp

primary
#AFCB3E
secondary
#423479
accent
#47E166
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #AFCB3E

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

Preview Lab → · Contrast checker → · Palette generator →

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