#DAC162#DAC162

#DAC162 is a light, moderate yellow. Relative luminance 0.539; OKLCH L 81.3% C 0.119 H 94.9°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#DAC162
RGBrgb(218, 193, 98)
HSLhsl(48, 62%, 62%)
HSVhsv(48, 55%, 85%)
CMYKcmyk(0%, 11.5%, 55%, 14.5%)
CIE-LABlab(78.42, -2.85, 50.41)
CIE-LCHlch(78.42, 50.49, 93.23°)
OKLaboklab(81.3% -0.01 0.1183)
OKLCHoklch(81.3% 0.119 94.9)
XYZxyz(50.1899, 53.9295, 19.3186)
Luminance0.5393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAC162 #627BDA
analogous
#DA8562 #DAC162 #B7DA62
triadic
#DAC162 #62DAC1 #C162DA
tetradic
#DAC162 #62DA85 #627BDA #DA62B7
square
#DAC162 #62DA85 #627BDA #DA62B7
split-complementary
#DAC162 #62B7DA #8562DA
monochromatic
#9D8425 #CEAD31 #DAC162 #E6D594 #F1E8C5

Accessibility & contrast

On white

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

On black

11.79
#DAC162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAC162
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAC162#FFFFFF#000000##000000
##DAC1621.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BD59
Deuteranopia (green-blind)
#D8C566
Tritanopia (blue-blind)
#E9B5AB
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dac162;
/* rgb */ color: rgb(218, 193, 98);
/* oklch */ color: oklch(81.3% 0.119 94.9);
Tailwind
colors: {
  custom: {
    50: '#e8d391',
    500: '#dac162',
    950: '#000000',
  },
}
SCSS
$custom: #dac162;
$custom-light: #e8d391;
$custom-dark: #000000;
JSON
{
  "hex": "#dac162",
  "rgb": {
    "r": 218,
    "g": 193,
    "b": 98
  },
  "hsl": {
    "h": 47.5,
    "s": 61.856,
    "l": 61.961
  },
  "oklch": {
    "l": 0.81304,
    "c": 0.11869,
    "h": 94.9
  },
  "luminance": 0.53927
}

Semantic roles & 50–950 ramp

primary
#DAC162
secondary
#4054A1
accent
#40CA1C
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #DAC162

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

Preview Lab → · Contrast checker → · Palette generator →

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