#AFC14B#AFC14B

#AFC14B is a light, vivid yellow. Relative luminance 0.478; OKLCH L 77.4% C 0.144 H 117.2°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#AFC14B
RGBrgb(175, 193, 75)
HSLhsl(69, 49%, 53%)
HSVhsv(69, 61%, 76%)
CMYKcmyk(9.3%, 0%, 61.1%, 24.3%)
CIE-LABlab(74.67, -22.43, 55.70)
CIE-LCHlch(74.67, 60.05, 111.94°)
OKLaboklab(77.4% -0.0657 0.1278)
OKLCHoklch(77.4% 0.144 117.2)
XYZxyz(38.0199, 47.7623, 13.8714)
Luminance0.4776 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC14B #5D4BC1
analogous
#C1984B #AFC14B #74C14B
triadic
#AFC14B #4BAFC1 #C14BAF
tetradic
#AFC14B #4BC198 #5D4BC1 #C14B74
square
#AFC14B #4BC198 #5D4BC1 #C14B74
split-complementary
#AFC14B #4B74C1 #984BC1
monochromatic
#616C25 #8A9A35 #AFC14B #C3D179 #D7E0A6

Accessibility & contrast

On white

1.99
#AFC14B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.55
#AFC14B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC14B
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC14B#FFFFFF#000000##000000
##AFC14B1.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB73D
Deuteranopia (green-blind)
#CBB853
Tritanopia (blue-blind)
#B9B7A8
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #afc14b;
/* rgb */ color: rgb(175, 193, 75);
/* oklch */ color: oklch(77.4% 0.144 117.2);
Tailwind
colors: {
  custom: {
    50: '#c9d382',
    500: '#afc14b',
    950: '#000000',
  },
}
SCSS
$custom: #afc14b;
$custom-light: #c9d382;
$custom-dark: #000000;
JSON
{
  "hex": "#afc14b",
  "rgb": {
    "r": 175,
    "g": 193,
    "b": 75
  },
  "hsl": {
    "h": 69.153,
    "s": 48.76,
    "l": 52.549
  },
  "oklch": {
    "l": 0.77395,
    "c": 0.14366,
    "h": 117.2
  },
  "luminance": 0.47762
}

Semantic roles & 50–950 ramp

primary
#AFC14B
secondary
#A29ACE
accent
#4FD864
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#13140B
muted
#82827C

Preview Lab

Preview with #AFC14B

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

Preview Lab → · Contrast checker → · Palette generator →

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