#ADC040#ADC040

#ADC040 is a light, vivid yellow. Relative luminance 0.470; OKLCH L 76.9% C 0.152 H 117.4°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#ADC040
RGBrgb(173, 192, 64)
HSLhsl(69, 50%, 50%)
HSVhsv(69, 67%, 75%)
CMYKcmyk(9.9%, 0%, 66.7%, 24.7%)
CIE-LABlab(74.16, -23.51, 59.66)
CIE-LCHlch(74.16, 64.12, 111.51°)
OKLaboklab(76.92% -0.0697 0.1346)
OKLCHoklch(76.92% 0.152 117.4)
XYZxyz(37.0094, 46.9541, 11.9629)
Luminance0.4695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ADC040 #5340C0
analogous
#C09340 #ADC040 #6DC040
triadic
#ADC040 #40ADC0 #C040AD
tetradic
#ADC040 #40C093 #5340C0 #C0406D
square
#ADC040 #40C093 #5340C0 #C0406D
split-complementary
#ADC040 #406DC0 #9340C0
monochromatic
#5A6421 #849230 #ADC040 #C1CF6E #D5DE9C

Accessibility & contrast

On white

2.02
#ADC040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.39
#ADC040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ADC040
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ADC040#FFFFFF#000000##000000
##ADC0401.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB62E
Deuteranopia (green-blind)
#CBB749
Tritanopia (blue-blind)
#B7B6A6
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #adc040;
/* rgb */ color: rgb(173, 192, 64);
/* oklch */ color: oklch(76.9% 0.152 117.4);
Tailwind
colors: {
  custom: {
    50: '#c8d37c',
    500: '#adc040',
    950: '#000000',
  },
}
SCSS
$custom: #adc040;
$custom-light: #c8d37c;
$custom-dark: #000000;
JSON
{
  "hex": "#adc040",
  "rgb": {
    "r": 173,
    "g": 192,
    "b": 64
  },
  "hsl": {
    "h": 68.906,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.76917,
    "c": 0.15157,
    "h": 117.4
  },
  "luminance": 0.46954
}

Semantic roles & 50–950 ramp

primary
#ADC040
secondary
#9A91CB
accent
#4EDA63
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#13140A
muted
#82827C

Preview Lab

Preview with #ADC040

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

Preview Lab → · Contrast checker → · Palette generator →

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