#DAC452#DAC452

#DAC452 is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.7% C 0.135 H 98.4°. Best body text is #000000 at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#DAC452
RGBrgb(218, 196, 82)
HSLhsl(50, 65%, 59%)
HSVhsv(50, 62%, 85%)
CMYKcmyk(0%, 10.1%, 62.4%, 14.5%)
CIE-LABlab(79.04, -5.55, 58.42)
CIE-LCHlch(79.04, 58.69, 95.42°)
OKLaboklab(81.74% -0.0197 0.1335)
OKLCHoklch(81.74% 0.135 98.4)
XYZxyz(50.1785, 54.9967, 15.9533)
Luminance0.5499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAC452 #5268DA
analogous
#DA8052 #DAC452 #ACDA52
triadic
#DAC452 #52DAC4 #C452DA
tetradic
#DAC452 #52DA80 #5268DA #DA52AC
square
#DAC452 #52DA80 #5268DA #DA52AC
split-complementary
#DAC452 #52ACDA #8052DA
monochromatic
#92801F #C5AC2A #DAC452 #E5D584 #F0E6B7

Accessibility & contrast

On white

1.75
#DAC452 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.00
#DAC452 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAC452
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAC452#FFFFFF#000000##000000
##DAC4521.001.7512.0012.00
#FFFFFF1.751.0021.0021.00
#00000012.0021.001.001.00
##00000012.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF45
Deuteranopia (green-blind)
#DCC758
Tritanopia (blue-blind)
#EAB7AC
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #dac452;
/* rgb */ color: rgb(218, 196, 82);
/* oklch */ color: oklch(81.7% 0.135 98.4);
Tailwind
colors: {
  custom: {
    50: '#e9d587',
    500: '#dac452',
    950: '#000000',
  },
}
SCSS
$custom: #dac452;
$custom-light: #e9d587;
$custom-dark: #000000;
JSON
{
  "hex": "#dac452",
  "rgb": {
    "r": 218,
    "g": 196,
    "b": 82
  },
  "hsl": {
    "h": 50.294,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.81743,
    "c": 0.13493,
    "h": 98.4
  },
  "luminance": 0.54994
}

Semantic roles & 50–950 ramp

primary
#DAC452
secondary
#394897
accent
#5BE840
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#16140C
muted
#85837F

Preview Lab

Preview with #DAC452

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

Preview Lab → · Contrast checker → · Palette generator →

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