#DAC252#DAC252

#DAC252 is a light, vivid yellow. Relative luminance 0.541; OKLCH L 81.3% C 0.133 H 97.2°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#DAC252
RGBrgb(218, 194, 82)
HSLhsl(49, 65%, 59%)
HSVhsv(49, 62%, 85%)
CMYKcmyk(0%, 11%, 62.4%, 14.5%)
CIE-LABlab(78.52, -4.51, 57.86)
CIE-LCHlch(78.52, 58.03, 94.46°)
OKLaboklab(81.33% -0.0167 0.1323)
OKLCHoklch(81.33% 0.133 97.2)
XYZxyz(49.7304, 54.1005, 15.8040)
Luminance0.5410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAC252 #526ADA
analogous
#DA7E52 #DAC252 #AEDA52
triadic
#DAC252 #52DAC2 #C252DA
tetradic
#DAC252 #52DA7E #526ADA #DA52AE
square
#DAC252 #52DA7E #526ADA #DA52AE
split-complementary
#DAC252 #52AEDA #7E52DA
monochromatic
#927E1F #C5A92A #DAC252 #E5D484 #F0E6B7

Accessibility & contrast

On white

1.78
#DAC252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.82
#DAC252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAC252
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAC252#FFFFFF#000000##000000
##DAC2521.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE45
Deuteranopia (green-blind)
#DAC658
Tritanopia (blue-blind)
#EAB5AA
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dac252;
/* rgb */ color: rgb(218, 194, 82);
/* oklch */ color: oklch(81.3% 0.133 97.2);
Tailwind
colors: {
  custom: {
    50: '#e9d487',
    500: '#dac252',
    950: '#000000',
  },
}
SCSS
$custom: #dac252;
$custom-light: #e9d487;
$custom-dark: #000000;
JSON
{
  "hex": "#dac252",
  "rgb": {
    "r": 218,
    "g": 194,
    "b": 82
  },
  "hsl": {
    "h": 49.412,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.81332,
    "c": 0.13334,
    "h": 97.2
  },
  "luminance": 0.54098
}

Semantic roles & 50–950 ramp

primary
#DAC252
secondary
#394A97
accent
#5EE840
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#16140C
muted
#85837F

Preview Lab

Preview with #DAC252

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

Preview Lab → · Contrast checker → · Palette generator →

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