#AFC15B#AFC15B

#AFC15B is a light, vivid yellow-green. Relative luminance 0.480; OKLCH L 77.6% C 0.129 H 117.8°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#AFC15B
RGBrgb(175, 193, 91)
HSLhsl(71, 45%, 56%)
HSVhsv(71, 53%, 76%)
CMYKcmyk(9.3%, 0%, 52.8%, 24.3%)
CIE-LABlab(74.83, -21.12, 48.64)
CIE-LCHlch(74.83, 53.03, 113.47°)
OKLaboklab(77.57% -0.0604 0.1145)
OKLCHoklch(77.57% 0.129 117.8)
XYZxyz(38.6380, 48.0095, 17.1268)
Luminance0.4801 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC15B #6D5BC1
analogous
#C1A05B #AFC15B #7CC15B
triadic
#AFC15B #5BAFC1 #C15BAF
tetradic
#AFC15B #5BC1A0 #6D5BC1 #C15B7C
square
#AFC15B #5BC1A0 #6D5BC1 #C15B7C
split-complementary
#AFC15B #5B7CC1 #A05BC1
monochromatic
#68752C #90A23D #AFC15B #C5D287 #DAE3B4

Accessibility & contrast

On white

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

On black

10.60
#AFC15B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC15B
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC15B#FFFFFF#000000##000000
##AFC15B1.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB851
Deuteranopia (green-blind)
#CAB961
Tritanopia (blue-blind)
#B8B8AA
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #afc15b;
/* rgb */ color: rgb(175, 193, 91);
/* oklch */ color: oklch(77.6% 0.129 117.8);
Tailwind
colors: {
  custom: {
    50: '#c9d38c',
    500: '#afc15b',
    950: '#000000',
  },
}
SCSS
$custom: #afc15b;
$custom-light: #c9d38c;
$custom-dark: #000000;
JSON
{
  "hex": "#afc15b",
  "rgb": {
    "r": 175,
    "g": 193,
    "b": 91
  },
  "hsl": {
    "h": 70.588,
    "s": 45.133,
    "l": 55.686
  },
  "oklch": {
    "l": 0.7757,
    "c": 0.12942,
    "h": 117.8
  },
  "luminance": 0.48009
}

Semantic roles & 50–950 ramp

primary
#AFC15B
secondary
#AEA7D1
accent
#53D56A
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#13140C
muted
#82827D

Preview Lab

Preview with #AFC15B

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

Preview Lab → · Contrast checker → · Palette generator →

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