#DAC951#DAC951

#DAC951 is a very light, vivid yellow. Relative luminance 0.573; OKLCH L 82.8% C 0.140 H 101.2°. Best body text is #000000 at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#DAC951
RGBrgb(218, 201, 81)
HSLhsl(53, 65%, 59%)
HSVhsv(53, 63%, 85%)
CMYKcmyk(0%, 7.8%, 62.8%, 14.5%)
CIE-LABlab(80.33, -8.17, 60.25)
CIE-LCHlch(80.33, 60.81, 97.72°)
OKLaboklab(82.77% -0.0273 0.1372)
OKLCHoklch(82.77% 0.14 101.2)
XYZxyz(51.2873, 57.2749, 16.1366)
Luminance0.5727 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAC951 #5162DA
analogous
#DA8451 #DAC951 #A6DA51
triadic
#DAC951 #51DAC9 #C951DA
tetradic
#DAC951 #51DA84 #5162DA #DA51A6
square
#DAC951 #51DA84 #5162DA #DA51A6
split-complementary
#DAC951 #51A6DA #8451DA
monochromatic
#92831F #C4B12A #DAC951 #E5D983 #EFE8B6

Accessibility & contrast

On white

1.69
#DAC951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.45
#DAC951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAC951
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAC951#FFFFFF#000000##000000
##DAC9511.001.6912.4512.45
#FFFFFF1.691.0021.0021.00
#00000012.4521.001.001.00
##00000012.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC343
Deuteranopia (green-blind)
#DFCA58
Tritanopia (blue-blind)
#EABCB0
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dac951;
/* rgb */ color: rgb(218, 201, 81);
/* oklch */ color: oklch(82.8% 0.140 101.2);
Tailwind
colors: {
  custom: {
    50: '#e9d987',
    500: '#dac951',
    950: '#000000',
  },
}
SCSS
$custom: #dac951;
$custom-light: #e9d987;
$custom-dark: #000000;
JSON
{
  "hex": "#dac951",
  "rgb": {
    "r": 218,
    "g": 201,
    "b": 81
  },
  "hsl": {
    "h": 52.555,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.82767,
    "c": 0.13992,
    "h": 101.2
  },
  "luminance": 0.57273
}

Semantic roles & 50–950 ramp

primary
#DAC951
secondary
#394497
accent
#55E840
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#16140C
muted
#85837F

Preview Lab

Preview with #DAC951

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

Preview Lab → · Contrast checker → · Palette generator →

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