#AFCF5A#AFCF5A

#AFCF5A is a light, vivid yellow-green. Relative luminance 0.545; OKLCH L 80.7% C 0.148 H 122.6°. Best body text is #000000 at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#AFCF5A
RGBrgb(175, 207, 90)
HSLhsl(76, 55%, 58%)
HSVhsv(76, 57%, 81%)
CMYKcmyk(15.5%, 0%, 56.5%, 18.8%)
CIE-LABlab(78.74, -28.01, 53.61)
CIE-LCHlch(78.74, 60.49, 117.59°)
OKLaboklab(80.71% -0.0799 0.1251)
OKLCHoklch(80.71% 0.148 122.6)
XYZxyz(41.8378, 54.4777, 17.9820)
Luminance0.5448 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCF5A #7A5ACF
analogous
#CFB45A #AFCF5A #74CF5A
triadic
#AFCF5A #5AAFCF #CF5AAF
tetradic
#AFCF5A #5ACFB4 #7A5ACF #CF5A74
square
#AFCF5A #5ACFB4 #7A5ACF #CF5A74
split-complementary
#AFCF5A #5A74CF #B45ACF
monochromatic
#6D8727 #93B735 #AFCF5A #C6DD89 #DDEBB9

Accessibility & contrast

On white

1.77
#AFCF5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.90
#AFCF5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCF5A
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCF5A#FFFFFF#000000##000000
##AFCF5A1.001.7711.9011.90
#FFFFFF1.771.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC44E
Deuteranopia (green-blind)
#D6C361
Tritanopia (blue-blind)
#B7C6B5
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #afcf5a;
/* rgb */ color: rgb(175, 207, 90);
/* oklch */ color: oklch(80.7% 0.148 122.6);
Tailwind
colors: {
  custom: {
    50: '#c9dd8c',
    500: '#afcf5a',
    950: '#000000',
  },
}
SCSS
$custom: #afcf5a;
$custom-light: #c9dd8c;
$custom-dark: #000000;
JSON
{
  "hex": "#afcf5a",
  "rgb": {
    "r": 175,
    "g": 207,
    "b": 90
  },
  "hsl": {
    "h": 76.41,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.80706,
    "c": 0.14839,
    "h": 122.6
  },
  "luminance": 0.54478
}

Semantic roles & 50–950 ramp

primary
#AFCF5A
secondary
#553F8E
accent
#4ADE72
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFCF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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