#AFC258#AFC258

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

Color values

HEX#AFC258
RGBrgb(175, 194, 88)
HSLhsl(71, 46%, 55%)
HSVhsv(71, 55%, 76%)
CMYKcmyk(9.8%, 0%, 54.6%, 23.9%)
CIE-LABlab(75.08, -21.88, 50.33)
CIE-LCHlch(75.08, 54.88, 113.50°)
OKLaboklab(77.76% -0.0629 0.1178)
OKLCHoklch(77.76% 0.134 118.1)
XYZxyz(38.7330, 48.4024, 16.5328)
Luminance0.4840 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC258 #6B58C2
analogous
#C2A058 #AFC258 #7AC258
triadic
#AFC258 #58AFC2 #C258AF
tetradic
#AFC258 #58C2A0 #6B58C2 #C2587A
square
#AFC258 #58C2A0 #6B58C2 #C2587A
split-complementary
#AFC258 #587AC2 #A058C2
monochromatic
#68752B #8FA23B #AFC258 #C4D285 #DAE3B2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFC258#FFFFFF#000000##000000
##AFC2581.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)
#CDB94D
Deuteranopia (green-blind)
#CBB95E
Tritanopia (blue-blind)
#B8B9AB
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #afc258;
/* rgb */ color: rgb(175, 194, 88);
/* oklch */ color: oklch(77.8% 0.134 118.1);
Tailwind
colors: {
  custom: {
    50: '#c9d48a',
    500: '#afc258',
    950: '#000000',
  },
}
SCSS
$custom: #afc258;
$custom-light: #c9d48a;
$custom-dark: #000000;
JSON
{
  "hex": "#afc258",
  "rgb": {
    "r": 175,
    "g": 194,
    "b": 88
  },
  "hsl": {
    "h": 70.755,
    "s": 46.491,
    "l": 55.294
  },
  "oklch": {
    "l": 0.77758,
    "c": 0.13353,
    "h": 118.1
  },
  "luminance": 0.48402
}

Semantic roles & 50–950 ramp

primary
#AFC258
secondary
#ADA5D1
accent
#52D669
background
#FCFDF8
surface
#F9FAF0
border
#D2D3CB
text
#13140C
muted
#82837D

Preview Lab

Preview with #AFC258

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

Preview Lab → · Contrast checker → · Palette generator →

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