#DAD252#DAD252

#DAD252 is a very light, vivid yellow. Relative luminance 0.616; OKLCH L 84.7% C 0.147 H 105.7°. Best body text is #000000 at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#DAD252
RGBrgb(218, 210, 82)
HSLhsl(56, 65%, 59%)
HSVhsv(56, 62%, 85%)
CMYKcmyk(0%, 3.7%, 62.4%, 14.5%)
CIE-LABlab(82.71, -12.66, 62.37)
CIE-LCHlch(82.71, 63.64, 101.47°)
OKLaboklab(84.66% -0.0399 0.1419)
OKLCHoklch(84.66% 0.147 105.7)
XYZxyz(53.4849, 61.6096, 17.0555)
Luminance0.6161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAD252 #525ADA
analogous
#DA8E52 #DAD252 #9EDA52
triadic
#DAD252 #52DAD2 #D252DA
tetradic
#DAD252 #52DA8E #525ADA #DA529E
square
#DAD252 #52DA8E #525ADA #DA529E
split-complementary
#DAD252 #529EDA #8E52DA
monochromatic
#928C1F #C5BC2A #DAD252 #E5DF84 #F0ECB7

Accessibility & contrast

On white

1.58
#DAD252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.32
#DAD252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAD252
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAD252#FFFFFF#000000##000000
##DAD2521.001.5813.3213.32
#FFFFFF1.581.0021.0021.00
#00000013.3221.001.001.00
##00000013.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB42
Deuteranopia (green-blind)
#E6D05A
Tritanopia (blue-blind)
#E9C5B7
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #dad252;
/* rgb */ color: rgb(218, 210, 82);
/* oklch */ color: oklch(84.7% 0.147 105.7);
Tailwind
colors: {
  custom: {
    50: '#e9df88',
    500: '#dad252',
    950: '#000000',
  },
}
SCSS
$custom: #dad252;
$custom-light: #e9df88;
$custom-dark: #000000;
JSON
{
  "hex": "#dad252",
  "rgb": {
    "r": 218,
    "g": 210,
    "b": 82
  },
  "hsl": {
    "h": 56.471,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.84655,
    "c": 0.14738,
    "h": 105.7
  },
  "luminance": 0.61608
}

Semantic roles & 50–950 ramp

primary
#DAD252
secondary
#393E97
accent
#4AE840
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #DAD252

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

Preview Lab → · Contrast checker → · Palette generator →

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