#DFD159#DFD159

#DFD159 is a very light, vivid yellow. Relative luminance 0.620; OKLCH L 84.9% C 0.141 H 102.7°. Best body text is #000000 at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#DFD159
RGBrgb(223, 209, 89)
HSLhsl(54, 68%, 61%)
HSVhsv(54, 60%, 87%)
CMYKcmyk(0%, 6.3%, 60.1%, 12.5%)
CIE-LABlab(82.92, -9.63, 59.74)
CIE-LCHlch(82.92, 60.51, 99.16°)
OKLaboklab(84.95% -0.0309 0.1371)
OKLCHoklch(84.95% 0.141 102.7)
XYZxyz(55.0371, 62.0123, 18.5197)
Luminance0.6201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD159 #5967DF
analogous
#DF8E59 #DFD159 #AADF59
triadic
#DFD159 #59DFD1 #D159DF
tetradic
#DFD159 #59DF8E #5967DF #DF59AA
square
#DFD159 #59DF8E #5967DF #DF59AA
split-complementary
#DFD159 #59AADF #8E59DF
monochromatic
#9F921F #D2C129 #DFD159 #E9DF8C #F3EDC0

Accessibility & contrast

On white

1.57
#DFD159 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.40
#DFD159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD159
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD159#FFFFFF#000000##000000
##DFD1591.001.5713.4013.40
#FFFFFF1.571.0021.0021.00
#00000013.4021.001.001.00
##00000013.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CB4C
Deuteranopia (green-blind)
#E7D15F
Tritanopia (blue-blind)
#EFC4B7
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #dfd159;
/* rgb */ color: rgb(223, 209, 89);
/* oklch */ color: oklch(84.9% 0.141 102.7);
Tailwind
colors: {
  custom: {
    50: '#ecde8c',
    500: '#dfd159',
    950: '#000000',
  },
}
SCSS
$custom: #dfd159;
$custom-light: #ecde8c;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd159",
  "rgb": {
    "r": 223,
    "g": 209,
    "b": 89
  },
  "hsl": {
    "h": 53.731,
    "s": 67.677,
    "l": 61.176
  },
  "oklch": {
    "l": 0.84945,
    "c": 0.14055,
    "h": 102.7
  },
  "luminance": 0.6201
}

Semantic roles & 50–950 ramp

primary
#DFD159
secondary
#3A45A2
accent
#29D016
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DFD159

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

Preview Lab → · Contrast checker → · Palette generator →

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