#ADAB28#ADAB28

#ADAB28 is a light, vivid yellow. Relative luminance 0.382; OKLCH L 72.0% C 0.144 H 108.6°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#ADAB28
RGBrgb(173, 171, 40)
HSLhsl(59, 62%, 42%)
HSVhsv(59, 77%, 68%)
CMYKcmyk(0%, 1.2%, 76.9%, 32.2%)
CIE-LABlab(68.14, -14.19, 62.44)
CIE-LCHlch(68.14, 64.03, 102.80°)
OKLaboklab(72.05% -0.0459 0.1364)
OKLCHoklch(72.05% 0.144 108.6)
XYZxyz(32.1807, 38.1643, 7.6784)
Luminance0.3816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ADAB28 #282AAD
analogous
#AD6928 #ADAB28 #6DAD28
triadic
#ADAB28 #28ADAB #AB28AD
tetradic
#ADAB28 #28AD69 #282AAD #AD286D
square
#ADAB28 #28AD69 #282AAD #AD286D
split-complementary
#ADAB28 #286DAD #6928AD
monochromatic
#4A4911 #7B7A1D #ADAB28 #D3D13F #DEDD71

Accessibility & contrast

On white

2.43
#ADAB28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#ADAB28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ADAB28
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ADAB28#FFFFFF#000000##000000
##ADAB281.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A404
Deuteranopia (green-blind)
#BBA833
Tritanopia (blue-blind)
#BAA093
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #adab28;
/* rgb */ color: rgb(173, 171, 40);
/* oklch */ color: oklch(72.0% 0.144 108.6);
Tailwind
colors: {
  custom: {
    50: '#c9c36d',
    500: '#adab28',
    950: '#000000',
  },
}
SCSS
$custom: #adab28;
$custom-light: #c9c36d;
$custom-dark: #000000;
JSON
{
  "hex": "#adab28",
  "rgb": {
    "r": 173,
    "g": 171,
    "b": 40
  },
  "hsl": {
    "h": 59.098,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.72049,
    "c": 0.14391,
    "h": 108.6
  },
  "luminance": 0.38163
}

Semantic roles & 50–950 ramp

primary
#ADAB28
secondary
#6C6DC5
accent
#45E642
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#141208
muted
#82817B

Preview Lab

Preview with #ADAB28

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

Preview Lab → · Contrast checker → · Palette generator →

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