#AFCA5D#AFCA5D

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

Color values

HEX#AFCA5D
RGBrgb(175, 202, 93)
HSLhsl(75, 51%, 58%)
HSVhsv(75, 54%, 79%)
CMYKcmyk(13.4%, 0%, 54%, 20.8%)
CIE-LABlab(77.37, -25.35, 50.67)
CIE-LCHlch(77.37, 56.65, 116.58°)
OKLaboklab(79.61% -0.0721 0.119)
OKLCHoklch(79.61% 0.139 121.2)
XYZxyz(40.7758, 52.1454, 18.2707)
Luminance0.5214 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA5D #785DCA
analogous
#CAAE5D #AFCA5D #79CA5D
triadic
#AFCA5D #5DAFCA #CA5DAF
tetradic
#AFCA5D #5DCAAE #785DCA #CA5D79
square
#AFCA5D #5DCAAE #785DCA #CA5D79
split-complementary
#AFCA5D #5D79CA #AE5DCA
monochromatic
#6C822B #93B03A #AFCA5D #C6D98B #DDE8B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFCA5D#FFFFFF#000000##000000
##AFCA5D1.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)
#D5C052
Deuteranopia (green-blind)
#D1BF64
Tritanopia (blue-blind)
#B7C1B2
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #afca5d;
/* rgb */ color: rgb(175, 202, 93);
/* oklch */ color: oklch(79.6% 0.139 121.2);
Tailwind
colors: {
  custom: {
    50: '#c9da8e',
    500: '#afca5d',
    950: '#000000',
  },
}
SCSS
$custom: #afca5d;
$custom-light: #c9da8e;
$custom-dark: #000000;
JSON
{
  "hex": "#afca5d",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 93
  },
  "hsl": {
    "h": 74.862,
    "s": 50.698,
    "l": 57.843
  },
  "oklch": {
    "l": 0.79613,
    "c": 0.13917,
    "h": 121.2
  },
  "luminance": 0.52145
}

Semantic roles & 50–950 ramp

primary
#AFCA5D
secondary
#53428A
accent
#4EDA70
background
#FEFEFC
surface
#FAFBF4
border
#D3D4CE
text
#13140C
muted
#83837F

Preview Lab

Preview with #AFCA5D

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

Preview Lab → · Contrast checker → · Palette generator →

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