#AFC159#AFC159

#AFC159 is a light, vivid yellow-green. Relative luminance 0.480; OKLCH L 77.5% C 0.131 H 117.7°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#AFC159
RGBrgb(175, 193, 89)
HSLhsl(70, 46%, 55%)
HSVhsv(70, 54%, 76%)
CMYKcmyk(9.3%, 0%, 53.9%, 24.3%)
CIE-LABlab(74.81, -21.30, 49.56)
CIE-LCHlch(74.81, 53.94, 113.26°)
OKLaboklab(77.55% -0.0611 0.1162)
OKLCHoklch(77.55% 0.131 117.7)
XYZxyz(38.5529, 47.9755, 16.6785)
Luminance0.4798 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC159 #6B59C1
analogous
#C19F59 #AFC159 #7BC159
triadic
#AFC159 #59AFC1 #C159AF
tetradic
#AFC159 #59C19F #6B59C1 #C1597B
square
#AFC159 #59C19F #6B59C1 #C1597B
split-complementary
#AFC159 #597BC1 #9F59C1
monochromatic
#68742B #8FA13C #AFC159 #C4D286 #DAE2B2

Accessibility & contrast

On white

1.98
#AFC159 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.60
#AFC159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC159
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC159#FFFFFF#000000##000000
##AFC1591.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB84F
Deuteranopia (green-blind)
#CAB95F
Tritanopia (blue-blind)
#B8B8AA
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #afc159;
/* rgb */ color: rgb(175, 193, 89);
/* oklch */ color: oklch(77.5% 0.131 117.7);
Tailwind
colors: {
  custom: {
    50: '#c9d38b',
    500: '#afc159',
    950: '#000000',
  },
}
SCSS
$custom: #afc159;
$custom-light: #c9d38b;
$custom-dark: #000000;
JSON
{
  "hex": "#afc159",
  "rgb": {
    "r": 175,
    "g": 193,
    "b": 89
  },
  "hsl": {
    "h": 70.385,
    "s": 45.614,
    "l": 55.294
  },
  "oklch": {
    "l": 0.77546,
    "c": 0.13132,
    "h": 117.7
  },
  "luminance": 0.47975
}

Semantic roles & 50–950 ramp

primary
#AFC159
secondary
#ADA5D1
accent
#53D569
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#13140C
muted
#82827D

Preview Lab

Preview with #AFC159

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

Preview Lab → · Contrast checker → · Palette generator →

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