#ADAF28#ADAF28

#ADAF28 is a light, vivid yellow. Relative luminance 0.397; OKLCH L 72.9% C 0.148 H 110.4°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#ADAF28
RGBrgb(173, 175, 40)
HSLhsl(61, 63%, 42%)
HSVhsv(61, 77%, 69%)
CMYKcmyk(1.1%, 0%, 77.1%, 31.4%)
CIE-LABlab(69.25, -16.24, 63.45)
CIE-LCHlch(69.25, 65.50, 104.35°)
OKLaboklab(72.94% -0.0516 0.1385)
OKLCHoklch(72.94% 0.148 110.4)
XYZxyz(32.9478, 39.6983, 7.9340)
Luminance0.3970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ADAF28 #2A28AF
analogous
#AF6E28 #ADAF28 #6AAF28
triadic
#ADAF28 #28ADAF #AF28AD
tetradic
#ADAF28 #28AF6E #2A28AF #AF286A
square
#ADAF28 #28AF6E #2A28AF #AF286A
split-complementary
#ADAF28 #286AAF #6E28AF
monochromatic
#4B4B11 #7C7D1D #ADAF28 #D1D441 #DDDF73

Accessibility & contrast

On white

2.35
#ADAF28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#ADAF28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ADAF28
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ADAF28#FFFFFF#000000##000000
##ADAF281.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#BEAB34
Tritanopia (blue-blind)
#B9A496
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #adaf28;
/* rgb */ color: rgb(173, 175, 40);
/* oklch */ color: oklch(72.9% 0.148 110.4);
Tailwind
colors: {
  custom: {
    50: '#c9c66e',
    500: '#adaf28',
    950: '#000000',
  },
}
SCSS
$custom: #adaf28;
$custom-light: #c9c66e;
$custom-dark: #000000;
JSON
{
  "hex": "#adaf28",
  "rgb": {
    "r": 173,
    "g": 175,
    "b": 40
  },
  "hsl": {
    "h": 60.889,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.72938,
    "c": 0.14784,
    "h": 110.4
  },
  "luminance": 0.39697
}

Semantic roles & 50–950 ramp

primary
#ADAF28
secondary
#6E6DC6
accent
#42E644
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ADAF28

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

Preview Lab → · Contrast checker → · Palette generator →

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