#DACC5A#DACC5A

#DACC5A is a very light, vivid yellow. Relative luminance 0.588; OKLCH L 83.5% C 0.135 H 102.3°. Best body text is #000000 at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#DACC5A
RGBrgb(218, 204, 90)
HSLhsl(53, 63%, 60%)
HSVhsv(53, 59%, 85%)
CMYKcmyk(0%, 6.4%, 58.7%, 14.5%)
CIE-LABlab(81.20, -9.10, 57.27)
CIE-LCHlch(81.20, 57.99, 99.02°)
OKLaboklab(83.48% -0.0289 0.1321)
OKLCHoklch(83.48% 0.135 102.3)
XYZxyz(52.3536, 58.8313, 18.2687)
Luminance0.5883 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DACC5A #5A68DA
analogous
#DA8C5A #DACC5A #A8DA5A
triadic
#DACC5A #5ADACC #CC5ADA
tetradic
#DACC5A #5ADA8C #5A68DA #DA5AA8
square
#DACC5A #5ADA8C #5A68DA #DA5AA8
split-complementary
#DACC5A #5AA8DA #8C5ADA
monochromatic
#988B22 #CAB82D #DACC5A #E5DB8C #F0EBBE

Accessibility & contrast

On white

1.65
#DACC5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.77
#DACC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DACC5A
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DACC5A#FFFFFF#000000##000000
##DACC5A1.001.6512.7712.77
#FFFFFF1.651.0021.0021.00
#00000012.7721.001.001.00
##00000012.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC64E
Deuteranopia (green-blind)
#E1CD60
Tritanopia (blue-blind)
#E9BFB3
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #dacc5a;
/* rgb */ color: rgb(218, 204, 90);
/* oklch */ color: oklch(83.5% 0.135 102.3);
Tailwind
colors: {
  custom: {
    50: '#e8db8d',
    500: '#dacc5a',
    950: '#000000',
  },
}
SCSS
$custom: #dacc5a;
$custom-light: #e8db8d;
$custom-dark: #000000;
JSON
{
  "hex": "#dacc5a",
  "rgb": {
    "r": 218,
    "g": 204,
    "b": 90
  },
  "hsl": {
    "h": 53.438,
    "s": 63.366,
    "l": 60.392
  },
  "oklch": {
    "l": 0.83479,
    "c": 0.13524,
    "h": 102.3
  },
  "luminance": 0.58829
}

Semantic roles & 50–950 ramp

primary
#DACC5A
secondary
#3C479C
accent
#2ECB1A
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #DACC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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