#AFC15F#AFC15F

#AFC15F is a light, vivid yellow-green. Relative luminance 0.481; OKLCH L 77.6% C 0.126 H 118.0°. Best body text is #000000 at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#AFC15F
RGBrgb(175, 193, 95)
HSLhsl(71, 44%, 56%)
HSVhsv(71, 51%, 76%)
CMYKcmyk(9.3%, 0%, 50.8%, 24.3%)
CIE-LABlab(74.88, -20.75, 46.79)
CIE-LCHlch(74.88, 51.19, 113.91°)
OKLaboklab(77.62% -0.059 0.1108)
OKLCHoklch(77.62% 0.126 118)
XYZxyz(38.8151, 48.0804, 18.0599)
Luminance0.4808 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC15F #715FC1
analogous
#C1A25F #AFC15F #7EC15F
triadic
#AFC15F #5FAFC1 #C15FAF
tetradic
#AFC15F #5FC1A2 #715FC1 #C15F7E
square
#AFC15F #5FC1A2 #715FC1 #C15F7E
split-complementary
#AFC15F #5F7EC1 #A25FC1
monochromatic
#6A772E #91A33F #AFC15F #C5D28B #DBE3B7

Accessibility & contrast

On white

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

On black

10.62
#AFC15F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC15F
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC15F#FFFFFF#000000##000000
##AFC15F1.001.9810.6210.62
#FFFFFF1.981.0021.0021.00
#00000010.6221.001.001.00
##00000010.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB856
Deuteranopia (green-blind)
#CAB964
Tritanopia (blue-blind)
#B8B8AB
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #afc15f;
/* rgb */ color: rgb(175, 193, 95);
/* oklch */ color: oklch(77.6% 0.126 118.0);
Tailwind
colors: {
  custom: {
    50: '#c9d38f',
    500: '#afc15f',
    950: '#000000',
  },
}
SCSS
$custom: #afc15f;
$custom-light: #c9d38f;
$custom-dark: #000000;
JSON
{
  "hex": "#afc15f",
  "rgb": {
    "r": 175,
    "g": 193,
    "b": 95
  },
  "hsl": {
    "h": 71.02,
    "s": 44.144,
    "l": 56.471
  },
  "oklch": {
    "l": 0.77621,
    "c": 0.12552,
    "h": 118
  },
  "luminance": 0.4808
}

Semantic roles & 50–950 ramp

primary
#AFC15F
secondary
#B1AAD2
accent
#54D46B
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#13140C
muted
#82827D

Preview Lab

Preview with #AFC15F

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

Preview Lab → · Contrast checker → · Palette generator →

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