#DFC159#DFC159

#DFC159 is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.7% C 0.128 H 93.3°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#DFC159
RGBrgb(223, 193, 89)
HSLhsl(47, 68%, 61%)
HSVhsv(47, 60%, 87%)
CMYKcmyk(0%, 13.5%, 60.1%, 12.5%)
CIE-LABlab(78.78, -1.43, 55.14)
CIE-LCHlch(78.78, 55.16, 91.49°)
OKLaboklab(81.67% -0.0073 0.1273)
OKLCHoklch(81.67% 0.128 93.3)
XYZxyz(51.3068, 54.5518, 17.2763)
Luminance0.5455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC159 #5977DF
analogous
#DF7E59 #DFC159 #BADF59
triadic
#DFC159 #59DFC1 #C159DF
tetradic
#DFC159 #59DF7E #5977DF #DF59BA
square
#DFC159 #59DF7E #5977DF #DF59BA
split-complementary
#DFC159 #59BADF #7E59DF
monochromatic
#9F821F #D2AC29 #DFC159 #E9D48C #F3E7C0

Accessibility & contrast

On white

1.76
#DFC159 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.91
#DFC159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC159
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC159#FFFFFF#000000##000000
##DFC1591.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BE4E
Deuteranopia (green-blind)
#DBC75E
Tritanopia (blue-blind)
#F0B3AA
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dfc159;
/* rgb */ color: rgb(223, 193, 89);
/* oklch */ color: oklch(81.7% 0.128 93.3);
Tailwind
colors: {
  custom: {
    50: '#ecd38b',
    500: '#dfc159',
    950: '#000000',
  },
}
SCSS
$custom: #dfc159;
$custom-light: #ecd38b;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc159",
  "rgb": {
    "r": 223,
    "g": 193,
    "b": 89
  },
  "hsl": {
    "h": 46.567,
    "s": 67.677,
    "l": 61.176
  },
  "oklch": {
    "l": 0.81667,
    "c": 0.12752,
    "h": 93.3
  },
  "luminance": 0.54549
}

Semantic roles & 50–950 ramp

primary
#DFC159
secondary
#3A51A2
accent
#3FD016
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFC159

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

Preview Lab → · Contrast checker → · Palette generator →

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