#ADAB40#ADAB40

#ADAB40 is a light, vivid yellow. Relative luminance 0.384; OKLCH L 72.2% C 0.128 H 108.2°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#ADAB40
RGBrgb(173, 171, 64)
HSLhsl(59, 46%, 46%)
HSVhsv(59, 63%, 68%)
CMYKcmyk(0%, 1.2%, 63%, 32.2%)
CIE-LABlab(68.30, -12.93, 53.53)
CIE-LCHlch(68.30, 55.07, 103.58°)
OKLaboklab(72.23% -0.04 0.1217)
OKLCHoklch(72.23% 0.128 108.2)
XYZxyz(32.7230, 38.3812, 10.5341)
Luminance0.3838 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ADAB40 #4042AD
analogous
#AD7540 #ADAB40 #79AD40
triadic
#ADAB40 #40ADAB #AB40AD
tetradic
#ADAB40 #40AD75 #4042AD #AD4079
square
#ADAB40 #40AD75 #4042AD #AD4079
split-complementary
#ADAB40 #4079AD #7540AD
monochromatic
#54531F #807F2F #ADAB40 #C6C464 #D6D591

Accessibility & contrast

On white

2.42
#ADAB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#ADAB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ADAB40
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ADAB40#FFFFFF#000000##000000
##ADAB401.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A433
Deuteranopia (green-blind)
#BAA847
Tritanopia (blue-blind)
#B9A095
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #adab40;
/* rgb */ color: rgb(173, 171, 64);
/* oklch */ color: oklch(72.2% 0.128 108.2);
Tailwind
colors: {
  custom: {
    50: '#c8c37a',
    500: '#adab40',
    950: '#000000',
  },
}
SCSS
$custom: #adab40;
$custom-light: #c8c37a;
$custom-dark: #000000;
JSON
{
  "hex": "#adab40",
  "rgb": {
    "r": 173,
    "g": 171,
    "b": 64
  },
  "hsl": {
    "h": 58.899,
    "s": 45.992,
    "l": 46.471
  },
  "oklch": {
    "l": 0.72227,
    "c": 0.12809,
    "h": 108.2
  },
  "luminance": 0.3838
}

Semantic roles & 50–950 ramp

primary
#ADAB40
secondary
#8788C2
accent
#55D652
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #ADAB40

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

Preview Lab → · Contrast checker → · Palette generator →

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