#DAC939#DAC939

#DAC939 is a very light, vivid yellow. Relative luminance 0.570; OKLCH L 82.6% C 0.156 H 102.4°. Best body text is #000000 at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#DAC939
RGBrgb(218, 201, 57)
HSLhsl(54, 69%, 54%)
HSVhsv(54, 74%, 85%)
CMYKcmyk(0%, 7.8%, 73.9%, 14.5%)
CIE-LABlab(80.17, -9.43, 69.37)
CIE-LCHlch(80.17, 70.01, 97.74°)
OKLaboklab(82.58% -0.0334 0.1525)
OKLCHoklch(82.58% 0.156 102.4)
XYZxyz(50.5409, 56.9763, 12.2054)
Luminance0.5697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAC939 #394ADA
analogous
#DA7939 #DAC939 #9ADA39
triadic
#DAC939 #39DAC9 #C939DA
tetradic
#DAC939 #39DA79 #394ADA #DA399A
square
#DAC939 #39DA79 #394ADA #DA399A
split-complementary
#DAC939 #399ADA #7939DA
monochromatic
#817618 #B4A522 #DAC939 #E4D76D #EDE5A0

Accessibility & contrast

On white

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

On black

12.39
#DAC939 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAC939
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAC939#FFFFFF#000000##000000
##DAC9391.001.6912.3912.39
#FFFFFF1.691.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC31D
Deuteranopia (green-blind)
#E1CA43
Tritanopia (blue-blind)
#EBBBAD
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dac939;
/* rgb */ color: rgb(218, 201, 57);
/* oklch */ color: oklch(82.6% 0.156 102.4);
Tailwind
colors: {
  custom: {
    50: '#e9d97a',
    500: '#dac939',
    950: '#000000',
  },
}
SCSS
$custom: #dac939;
$custom-light: #e9d97a;
$custom-dark: #000000;
JSON
{
  "hex": "#dac939",
  "rgb": {
    "r": 218,
    "g": 201,
    "b": 57
  },
  "hsl": {
    "h": 53.665,
    "s": 68.511,
    "l": 53.922
  },
  "oklch": {
    "l": 0.8258,
    "c": 0.15612,
    "h": 102.4
  },
  "luminance": 0.56974
}

Semantic roles & 50–950 ramp

primary
#DAC939
secondary
#303988
accent
#4FEB3C
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #DAC939

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

Preview Lab → · Contrast checker → · Palette generator →

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