#AFC459#AFC459

#AFC459 is a light, vivid yellow-green. Relative luminance 0.493; OKLCH L 78.2% C 0.135 H 118.9°. Best body text is #000000 at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#AFC459
RGBrgb(175, 196, 89)
HSLhsl(72, 48%, 56%)
HSVhsv(72, 55%, 77%)
CMYKcmyk(10.7%, 0%, 54.6%, 23.1%)
CIE-LABlab(75.65, -22.78, 50.53)
CIE-LCHlch(75.65, 55.42, 114.27°)
OKLaboklab(78.22% -0.0653 0.1183)
OKLCHoklch(78.22% 0.135 118.9)
XYZxyz(39.2228, 49.3153, 16.9018)
Luminance0.4931 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC459 #6E59C4
analogous
#C4A359 #AFC459 #79C459
triadic
#AFC459 #59AFC4 #C459AF
tetradic
#AFC459 #59C4A3 #6E59C4 #C45979
square
#AFC459 #59C4A3 #6E59C4 #C45979
split-complementary
#AFC459 #5979C4 #A359C4
monochromatic
#69782B #90A53B #AFC459 #C5D486 #DBE4B3

Accessibility & contrast

On white

1.93
#AFC459 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.86
#AFC459 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC459
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC459#FFFFFF#000000##000000
##AFC4591.001.9310.8610.86
#FFFFFF1.931.0021.0021.00
#00000010.8621.001.001.00
##00000010.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA4E
Deuteranopia (green-blind)
#CDBB5F
Tritanopia (blue-blind)
#B8BBAC
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #afc459;
/* rgb */ color: rgb(175, 196, 89);
/* oklch */ color: oklch(78.2% 0.135 118.9);
Tailwind
colors: {
  custom: {
    50: '#c9d58b',
    500: '#afc459',
    950: '#000000',
  },
}
SCSS
$custom: #afc459;
$custom-light: #c9d58b;
$custom-dark: #000000;
JSON
{
  "hex": "#afc459",
  "rgb": {
    "r": 175,
    "g": 196,
    "b": 89
  },
  "hsl": {
    "h": 71.776,
    "s": 47.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.78218,
    "c": 0.13514,
    "h": 118.9
  },
  "luminance": 0.49315
}

Semantic roles & 50–950 ramp

primary
#AFC459
secondary
#AFA6D3
accent
#51D76B
background
#FCFDF8
surface
#F9FAF0
border
#D2D3CB
text
#13140C
muted
#82837D

Preview Lab

Preview with #AFC459

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

Preview Lab → · Contrast checker → · Palette generator →

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