#DAC97F#DAC97F

#DAC97F is a very light, moderate yellow. Relative luminance 0.582; OKLCH L 83.4% C 0.096 H 96.8°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#DAC97F
RGBrgb(218, 201, 127)
HSLhsl(49, 55%, 68%)
HSVhsv(49, 42%, 85%)
CMYKcmyk(0%, 7.8%, 41.7%, 14.5%)
CIE-LABlab(80.86, -4.31, 39.08)
CIE-LCHlch(80.86, 39.32, 96.30°)
OKLaboklab(83.35% -0.0114 0.0953)
OKLCHoklch(83.35% 0.096 96.8)
XYZxyz(53.6321, 58.2128, 28.4856)
Luminance0.5821 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAC97F #7F90DA
analogous
#DA9B7F #DAC97F #BEDA7F
triadic
#DAC97F #7FDAC9 #C97FDA
tetradic
#DAC97F #7FDA9B #7F90DA #DA7FBE
square
#DAC97F #7FDA9B #7F90DA #DA7FBE
split-complementary
#DAC97F #7FBEDA #9B7FDA
monochromatic
#AD9632 #CCB550 #DAC97F #E8DDAE #F5F1DE

Accessibility & contrast

On white

1.66
#DAC97F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.64
#DAC97F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAC97F
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAC97F#FFFFFF#000000##000000
##DAC97F1.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C579
Deuteranopia (green-blind)
#DBCB82
Tritanopia (blue-blind)
#E7BFB7
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dac97f;
/* rgb */ color: rgb(218, 201, 127);
/* oklch */ color: oklch(83.4% 0.096 96.8);
Tailwind
colors: {
  custom: {
    50: '#e7d9a5',
    500: '#dac97f',
    950: '#000000',
  },
}
SCSS
$custom: #dac97f;
$custom-light: #e7d9a5;
$custom-dark: #000000;
JSON
{
  "hex": "#dac97f",
  "rgb": {
    "r": 218,
    "g": 201,
    "b": 127
  },
  "hsl": {
    "h": 48.791,
    "s": 55.152,
    "l": 67.647
  },
  "oklch": {
    "l": 0.83351,
    "c": 0.09594,
    "h": 96.8
  },
  "luminance": 0.58211
}

Semantic roles & 50–950 ramp

primary
#DAC97F
secondary
#4E60AF
accent
#41C323
background
#FEFEFC
surface
#FDFBF6
border
#D5D4D0
text
#16140F
muted
#848380

Preview Lab

Preview with #DAC97F

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

Preview Lab → · Contrast checker → · Palette generator →

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