#DAC239#DAC239

#DAC239 is a light, vivid yellow. Relative luminance 0.538; OKLCH L 81.1% C 0.151 H 98.9°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#DAC239
RGBrgb(218, 194, 57)
HSLhsl(51, 69%, 54%)
HSVhsv(51, 74%, 85%)
CMYKcmyk(0%, 11%, 73.9%, 14.5%)
CIE-LABlab(78.34, -5.85, 67.64)
CIE-LCHlch(78.34, 67.89, 94.95°)
OKLaboklab(81.13% -0.0233 0.1488)
OKLCHoklch(81.13% 0.151 98.9)
XYZxyz(48.9462, 53.7868, 11.6739)
Luminance0.5378 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAC239 #3951DA
analogous
#DA7239 #DAC239 #A2DA39
triadic
#DAC239 #39DAC2 #C239DA
tetradic
#DAC239 #39DA72 #3951DA #DA39A2
square
#DAC239 #39DA72 #3951DA #DA39A2
split-complementary
#DAC239 #39A2DA #7239DA
monochromatic
#817118 #B49E22 #DAC239 #E4D26D #EDE2A0

Accessibility & contrast

On white

1.79
#DAC239 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.76
#DAC239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAC239
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAC239#FFFFFF#000000##000000
##DAC2391.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD20
Deuteranopia (green-blind)
#DCC542
Tritanopia (blue-blind)
#EBB3A7
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dac239;
/* rgb */ color: rgb(218, 194, 57);
/* oklch */ color: oklch(81.1% 0.151 98.9);
Tailwind
colors: {
  custom: {
    50: '#ead479',
    500: '#dac239',
    950: '#000000',
  },
}
SCSS
$custom: #dac239;
$custom-light: #ead479;
$custom-dark: #000000;
JSON
{
  "hex": "#dac239",
  "rgb": {
    "r": 218,
    "g": 194,
    "b": 57
  },
  "hsl": {
    "h": 51.056,
    "s": 68.511,
    "l": 53.922
  },
  "oklch": {
    "l": 0.81128,
    "c": 0.15064,
    "h": 98.9
  },
  "luminance": 0.53784
}

Semantic roles & 50–950 ramp

primary
#DAC239
secondary
#303D88
accent
#57EB3C
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #DAC239

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

Preview Lab → · Contrast checker → · Palette generator →

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