#AFCA5A#AFCA5A

#AFCA5A is a light, vivid yellow-green. Relative luminance 0.521; OKLCH L 79.6% C 0.142 H 121.0°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#AFCA5A
RGBrgb(175, 202, 90)
HSLhsl(74, 51%, 57%)
HSVhsv(74, 55%, 79%)
CMYKcmyk(13.4%, 0%, 55.4%, 20.8%)
CIE-LABlab(77.34, -25.61, 52.01)
CIE-LCHlch(77.34, 57.98, 116.22°)
OKLaboklab(79.58% -0.0732 0.1216)
OKLCHoklch(79.58% 0.142 121)
XYZxyz(40.6456, 52.0933, 17.5846)
Luminance0.5209 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA5A #755ACA
analogous
#CAAD5A #AFCA5A #77CA5A
triadic
#AFCA5A #5AAFCA #CA5AAF
tetradic
#AFCA5A #5ACAAD #755ACA #CA5A77
square
#AFCA5A #5ACAAD #755ACA #CA5A77
split-complementary
#AFCA5A #5A77CA #AD5ACA
monochromatic
#6B8029 #92AF38 #AFCA5A #C5D988 #DCE8B7

Accessibility & contrast

On white

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

On black

11.42
#AFCA5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCA5A
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCA5A#FFFFFF#000000##000000
##AFCA5A1.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF4F
Deuteranopia (green-blind)
#D2BF61
Tritanopia (blue-blind)
#B7C1B1
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #afca5a;
/* rgb */ color: rgb(175, 202, 90);
/* oklch */ color: oklch(79.6% 0.142 121.0);
Tailwind
colors: {
  custom: {
    50: '#c9da8c',
    500: '#afca5a',
    950: '#000000',
  },
}
SCSS
$custom: #afca5a;
$custom-light: #c9da8c;
$custom-dark: #000000;
JSON
{
  "hex": "#afca5a",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 90
  },
  "hsl": {
    "h": 74.464,
    "s": 51.376,
    "l": 57.255
  },
  "oklch": {
    "l": 0.79578,
    "c": 0.14192,
    "h": 121
  },
  "luminance": 0.52093
}

Semantic roles & 50–950 ramp

primary
#AFCA5A
secondary
#514088
accent
#4DDB6F
background
#FEFEFC
surface
#FAFBF4
border
#D3D4CE
text
#13140C
muted
#83837F

Preview Lab

Preview with #AFCA5A

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

Preview Lab → · Contrast checker → · Palette generator →

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