#DFC259#DFC259

#DFC259 is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.9% C 0.128 H 93.9°. Best body text is #000000 at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#DFC259
RGBrgb(223, 194, 89)
HSLhsl(47, 68%, 61%)
HSVhsv(47, 60%, 87%)
CMYKcmyk(0%, 13%, 60.1%, 12.5%)
CIE-LABlab(79.04, -1.95, 55.43)
CIE-LCHlch(79.04, 55.47, 92.01°)
OKLaboklab(81.87% -0.0088 0.1279)
OKLCHoklch(81.87% 0.128 93.9)
XYZxyz(51.5286, 54.9954, 17.3502)
Luminance0.5499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC259 #5976DF
analogous
#DF7F59 #DFC259 #B9DF59
triadic
#DFC259 #59DFC2 #C259DF
tetradic
#DFC259 #59DF7F #5976DF #DF59B9
square
#DFC259 #59DF7F #5976DF #DF59B9
split-complementary
#DFC259 #59B9DF #7F59DF
monochromatic
#9F831F #D2AE29 #DFC259 #E9D58C #F3E8C0

Accessibility & contrast

On white

1.75
#DFC259 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.00
#DFC259 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC259
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC259#FFFFFF#000000##000000
##DFC2591.001.7512.0012.00
#FFFFFF1.751.0021.0021.00
#00000012.0021.001.001.00
##00000012.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF4E
Deuteranopia (green-blind)
#DCC75E
Tritanopia (blue-blind)
#EFB4AB
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #dfc259;
/* rgb */ color: rgb(223, 194, 89);
/* oklch */ color: oklch(81.9% 0.128 93.9);
Tailwind
colors: {
  custom: {
    50: '#ecd48b',
    500: '#dfc259',
    950: '#000000',
  },
}
SCSS
$custom: #dfc259;
$custom-light: #ecd48b;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc259",
  "rgb": {
    "r": 223,
    "g": 194,
    "b": 89
  },
  "hsl": {
    "h": 47.015,
    "s": 67.677,
    "l": 61.176
  },
  "oklch": {
    "l": 0.8187,
    "c": 0.12823,
    "h": 93.9
  },
  "luminance": 0.54993
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DFC259

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

Preview Lab → · Contrast checker → · Palette generator →

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