#AFD95C#AFD95C

#AFD95C is a very light, vivid yellow-green. Relative luminance 0.595; OKLCH L 83.0% C 0.160 H 125.3°. Best body text is #000000 at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#AFD95C
RGBrgb(175, 217, 92)
HSLhsl(80, 62%, 61%)
HSVhsv(80, 58%, 85%)
CMYKcmyk(19.4%, 0%, 57.6%, 14.9%)
CIE-LABlab(81.57, -32.54, 55.94)
CIE-LCHlch(81.57, 64.72, 120.19°)
OKLaboklab(83% -0.0923 0.1303)
OKLCHoklch(83% 0.16 125.3)
XYZxyz(44.4239, 59.5119, 19.2697)
Luminance0.5951 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD95C #865CD9
analogous
#D9C45C #AFD95C #70D95C
triadic
#AFD95C #5CAFD9 #D95CAF
tetradic
#AFD95C #5CD9C4 #865CD9 #D95C70
square
#AFD95C #5CD9C4 #865CD9 #D95C70
split-complementary
#AFD95C #5C70D9 #C45CD9
monochromatic
#709723 #95C92F #AFD95C #C7E58E #E0F0BF

Accessibility & contrast

On white

1.63
#AFD95C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.90
#AFD95C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD95C
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD95C#FFFFFF#000000##000000
##AFD95C1.001.6312.9012.90
#FFFFFF1.631.0021.0021.00
#00000012.9021.001.001.00
##00000012.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC4F
Deuteranopia (green-blind)
#DECA64
Tritanopia (blue-blind)
#B6D0BE
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #afd95c;
/* rgb */ color: rgb(175, 217, 92);
/* oklch */ color: oklch(83.0% 0.160 125.3);
Tailwind
colors: {
  custom: {
    50: '#c9e58e',
    500: '#afd95c',
    950: '#000000',
  },
}
SCSS
$custom: #afd95c;
$custom-light: #c9e58e;
$custom-dark: #000000;
JSON
{
  "hex": "#afd95c",
  "rgb": {
    "r": 175,
    "g": 217,
    "b": 92
  },
  "hsl": {
    "h": 80.16,
    "s": 62.189,
    "l": 60.588
  },
  "oklch": {
    "l": 0.82996,
    "c": 0.15965,
    "h": 125.3
  },
  "luminance": 0.59512
}

Semantic roles & 50–950 ramp

primary
#AFD95C
secondary
#5D3D9C
accent
#1CCA56
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFD95C

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

Preview Lab → · Contrast checker → · Palette generator →

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