#AFCA4B#AFCA4B

#AFCA4B is a light, vivid yellow-green. Relative luminance 0.519; OKLCH L 79.4% C 0.155 H 120.3°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#AFCA4B
RGBrgb(175, 202, 75)
HSLhsl(73, 55%, 54%)
HSVhsv(73, 63%, 79%)
CMYKcmyk(13.4%, 0%, 62.9%, 20.8%)
CIE-LABlab(77.20, -26.81, 58.43)
CIE-LCHlch(77.20, 64.28, 114.65°)
OKLaboklab(79.42% -0.0779 0.1335)
OKLCHoklch(79.42% 0.155 120.3)
XYZxyz(40.0703, 51.8631, 14.5549)
Luminance0.5186 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA4B #664BCA
analogous
#CAA64B #AFCA4B #70CA4B
triadic
#AFCA4B #4BAFCA #CA4BAF
tetradic
#AFCA4B #4BCAA6 #664BCA #CA4B70
square
#AFCA4B #4BCAA6 #664BCA #CA4B70
split-complementary
#AFCA4B #4B70CA #A64BCA
monochromatic
#667723 #8EA731 #AFCA4B #C4D87A #D9E6AA

Accessibility & contrast

On white

1.85
#AFCA4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.37
#AFCA4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCA4B
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCA4B#FFFFFF#000000##000000
##AFCA4B1.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF3B
Deuteranopia (green-blind)
#D3BF54
Tritanopia (blue-blind)
#B8C0B0
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #afca4b;
/* rgb */ color: rgb(175, 202, 75);
/* oklch */ color: oklch(79.4% 0.155 120.3);
Tailwind
colors: {
  custom: {
    50: '#cada83',
    500: '#afca4b',
    950: '#000000',
  },
}
SCSS
$custom: #afca4b;
$custom-light: #cada83;
$custom-dark: #000000;
JSON
{
  "hex": "#afca4b",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 75
  },
  "hsl": {
    "h": 72.756,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.79423,
    "c": 0.1546,
    "h": 120.3
  },
  "luminance": 0.51863
}

Semantic roles & 50–950 ramp

primary
#AFCA4B
secondary
#483980
accent
#4ADE69
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #AFCA4B

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

Preview Lab → · Contrast checker → · Palette generator →

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