#AFC259#AFC259

#AFC259 is a light, vivid yellow-green. Relative luminance 0.484; OKLCH L 77.8% C 0.133 H 118.1°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#AFC259
RGBrgb(175, 194, 89)
HSLhsl(71, 46%, 55%)
HSVhsv(71, 54%, 76%)
CMYKcmyk(9.8%, 0%, 54.1%, 23.9%)
CIE-LABlab(75.09, -21.79, 49.88)
CIE-LCHlch(75.09, 54.43, 113.60°)
OKLaboklab(77.77% -0.0625 0.1169)
OKLCHoklch(77.77% 0.133 118.1)
XYZxyz(38.7747, 48.4191, 16.7524)
Luminance0.4842 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC259 #6C59C2
analogous
#C2A059 #AFC259 #7AC259
triadic
#AFC259 #59AFC2 #C259AF
tetradic
#AFC259 #59C2A0 #6C59C2 #C2597A
square
#AFC259 #59C2A0 #6C59C2 #C2597A
split-complementary
#AFC259 #597AC2 #A059C2
monochromatic
#68752B #90A23C #AFC259 #C5D286 #DAE3B3

Accessibility & contrast

On white

1.97
#AFC259 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.68
#AFC259 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC259
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC259#FFFFFF#000000##000000
##AFC2591.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB94F
Deuteranopia (green-blind)
#CBB95F
Tritanopia (blue-blind)
#B8B9AB
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #afc259;
/* rgb */ color: rgb(175, 194, 89);
/* oklch */ color: oklch(77.8% 0.133 118.1);
Tailwind
colors: {
  custom: {
    50: '#c9d48b',
    500: '#afc259',
    950: '#000000',
  },
}
SCSS
$custom: #afc259;
$custom-light: #c9d48b;
$custom-dark: #000000;
JSON
{
  "hex": "#afc259",
  "rgb": {
    "r": 175,
    "g": 194,
    "b": 89
  },
  "hsl": {
    "h": 70.857,
    "s": 46.256,
    "l": 55.49
  },
  "oklch": {
    "l": 0.7777,
    "c": 0.13259,
    "h": 118.1
  },
  "luminance": 0.48419
}

Semantic roles & 50–950 ramp

primary
#AFC259
secondary
#ADA6D1
accent
#52D66A
background
#FCFDF8
surface
#F9FAF0
border
#D2D3CB
text
#13140C
muted
#82837D

Preview Lab

Preview with #AFC259

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

Preview Lab → · Contrast checker → · Palette generator →

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