#AFCB4A#AFCB4A

#AFCB4A is a light, vivid yellow-green. Relative luminance 0.523; OKLCH L 79.6% C 0.157 H 120.5°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#AFCB4A
RGBrgb(175, 203, 74)
HSLhsl(73, 55%, 54%)
HSVhsv(73, 64%, 80%)
CMYKcmyk(13.8%, 0%, 63.5%, 20.4%)
CIE-LABlab(77.47, -27.36, 59.13)
CIE-LCHlch(77.47, 65.15, 114.83°)
OKLaboklab(79.64% -0.0795 0.1349)
OKLCHoklch(79.64% 0.157 120.5)
XYZxyz(40.2717, 52.3203, 14.4545)
Luminance0.5232 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCB4A #664ACB
analogous
#CBA74A #AFCB4A #6FCB4A
triadic
#AFCB4A #4AAFCB #CB4AAF
tetradic
#AFCB4A #4ACBA7 #664ACB #CB4A6F
square
#AFCB4A #4ACBA7 #664ACB #CB4A6F
split-complementary
#AFCB4A #4A6FCB #A74ACB
monochromatic
#667823 #8EA830 #AFCB4A #C4D97A #D9E6A9

Accessibility & contrast

On white

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

On black

11.46
#AFCB4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCB4A
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCB4A#FFFFFF#000000##000000
##AFCB4A1.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C03A
Deuteranopia (green-blind)
#D4C053
Tritanopia (blue-blind)
#B8C1B0
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #afcb4a;
/* rgb */ color: rgb(175, 203, 74);
/* oklch */ color: oklch(79.6% 0.157 120.5);
Tailwind
colors: {
  custom: {
    50: '#cada82',
    500: '#afcb4a',
    950: '#000000',
  },
}
SCSS
$custom: #afcb4a;
$custom-light: #cada82;
$custom-dark: #000000;
JSON
{
  "hex": "#afcb4a",
  "rgb": {
    "r": 175,
    "g": 203,
    "b": 74
  },
  "hsl": {
    "h": 73.023,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.7964,
    "c": 0.15659,
    "h": 120.5
  },
  "luminance": 0.5232
}

Semantic roles & 50–950 ramp

primary
#AFCB4A
secondary
#483980
accent
#49DF6A
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #AFCB4A

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

Preview Lab → · Contrast checker → · Palette generator →

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