#DFC959#DFC959

#DFC959 is a very light, vivid yellow. Relative luminance 0.582; OKLCH L 83.3% C 0.134 H 98.3°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#DFC959
RGBrgb(223, 201, 89)
HSLhsl(50, 68%, 61%)
HSVhsv(50, 60%, 87%)
CMYKcmyk(0%, 9.9%, 60.1%, 12.5%)
CIE-LABlab(80.84, -5.56, 57.44)
CIE-LCHlch(80.84, 57.71, 95.53°)
OKLaboklab(83.3% -0.0192 0.1322)
OKLCHoklch(83.3% 0.134 98.3)
XYZxyz(53.1234, 58.1849, 17.8818)
Luminance0.5818 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC959 #596FDF
analogous
#DF8659 #DFC959 #B2DF59
triadic
#DFC959 #59DFC9 #C959DF
tetradic
#DFC959 #59DF86 #596FDF #DF59B2
square
#DFC959 #59DF86 #596FDF #DF59B2
split-complementary
#DFC959 #59B2DF #8659DF
monochromatic
#9F8A1F #D2B629 #DFC959 #E9DA8C #F3EAC0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFC959#FFFFFF#000000##000000
##DFC9591.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)
#DBC44D
Deuteranopia (green-blind)
#E1CC5E
Tritanopia (blue-blind)
#EFBCB1
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dfc959;
/* rgb */ color: rgb(223, 201, 89);
/* oklch */ color: oklch(83.3% 0.134 98.3);
Tailwind
colors: {
  custom: {
    50: '#ecd98c',
    500: '#dfc959',
    950: '#000000',
  },
}
SCSS
$custom: #dfc959;
$custom-light: #ecd98c;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc959",
  "rgb": {
    "r": 223,
    "g": 201,
    "b": 89
  },
  "hsl": {
    "h": 50.149,
    "s": 67.677,
    "l": 61.176
  },
  "oklch": {
    "l": 0.83296,
    "c": 0.13362,
    "h": 98.3
  },
  "luminance": 0.58183
}

Semantic roles & 50–950 ramp

primary
#DFC959
secondary
#3A4BA2
accent
#34D016
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFC959

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

Preview Lab → · Contrast checker → · Palette generator →

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