#ADC21F#ADC21F

#ADC21F is a light, vivid yellow. Relative luminance 0.476; OKLCH L 77.2% C 0.171 H 117.5°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#ADC21F
RGBrgb(173, 194, 31)
HSLhsl(68, 72%, 44%)
HSVhsv(68, 84%, 76%)
CMYKcmyk(10.8%, 0%, 84%, 23.9%)
CIE-LABlab(74.55, -25.97, 70.51)
CIE-LCHlch(74.55, 75.14, 110.22°)
OKLaboklab(77.18% -0.0791 0.1521)
OKLCHoklch(77.18% 0.171 117.5)
XYZxyz(36.7737, 47.5672, 8.5402)
Luminance0.4757 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ADC21F #341FC2
analogous
#C2861F #ADC21F #5CC21F
triadic
#ADC21F #1FADC2 #C21FAD
tetradic
#ADC21F #1FC286 #341FC2 #C21F5C
square
#ADC21F #1FC286 #341FC2 #C21F5C
split-complementary
#ADC21F #1F5CC2 #861FC2
monochromatic
#4F580E #7E8D17 #ADC21F #CBE03E #D9E973

Accessibility & contrast

On white

2.00
#ADC21F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.51
#ADC21F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ADC21F
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ADC21F#FFFFFF#000000##000000
##ADC21F1.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B700
Deuteranopia (green-blind)
#CEB832
Tritanopia (blue-blind)
#B8B7A6
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #adc21f;
/* rgb */ color: rgb(173, 194, 31);
/* oklch */ color: oklch(77.2% 0.171 117.5);
Tailwind
colors: {
  custom: {
    50: '#cad46d',
    500: '#adc21f',
    950: '#000000',
  },
}
SCSS
$custom: #adc21f;
$custom-light: #cad46d;
$custom-dark: #000000;
JSON
{
  "hex": "#adc21f",
  "rgb": {
    "r": 173,
    "g": 194,
    "b": 31
  },
  "hsl": {
    "h": 67.73,
    "s": 72.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.77176,
    "c": 0.17147,
    "h": 117.5
  },
  "luminance": 0.47567
}

Semantic roles & 50–950 ramp

primary
#ADC21F
secondary
#7A6DCF
accent
#39EF50
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141408
muted
#82827B

Preview Lab

Preview with #ADC21F

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

Preview Lab → · Contrast checker → · Palette generator →

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