#DFD04B#DFD04B

#DFD04B is a very light, vivid yellow. Relative luminance 0.613; OKLCH L 84.6% C 0.150 H 102.8°. Best body text is #000000 at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#DFD04B
RGBrgb(223, 208, 75)
HSLhsl(54, 70%, 58%)
HSVhsv(54, 66%, 87%)
CMYKcmyk(0%, 6.7%, 66.4%, 12.5%)
CIE-LABlab(82.55, -9.99, 65.18)
CIE-LCHlch(82.55, 65.94, 98.71°)
OKLaboklab(84.61% -0.0334 0.1466)
OKLCHoklch(84.61% 0.15 102.8)
XYZxyz(54.2595, 61.3099, 15.6311)
Luminance0.6131 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD04B #4B5ADF
analogous
#DF864B #DFD04B #A4DF4B
triadic
#DFD04B #4BDFD0 #D04BDF
tetradic
#DFD04B #4BDF86 #4B5ADF #DF4BA4
square
#DFD04B #4BDF86 #4B5ADF #DF4BA4
split-complementary
#DFD04B #4BA4DF #864BDF
monochromatic
#95891B #C9B824 #DFD04B #E8DE7F #F1EBB3

Accessibility & contrast

On white

1.58
#DFD04B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.26
#DFD04B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD04B
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD04B#FFFFFF#000000##000000
##DFD04B1.001.5813.2613.26
#FFFFFF1.581.0021.0021.00
#00000013.2621.001.001.00
##00000013.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA39
Deuteranopia (green-blind)
#E7D153
Tritanopia (blue-blind)
#EFC2B5
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #dfd04b;
/* rgb */ color: rgb(223, 208, 75);
/* oklch */ color: oklch(84.6% 0.150 102.8);
Tailwind
colors: {
  custom: {
    50: '#ecde84',
    500: '#dfd04b',
    950: '#000000',
  },
}
SCSS
$custom: #dfd04b;
$custom-light: #ecde84;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd04b",
  "rgb": {
    "r": 223,
    "g": 208,
    "b": 75
  },
  "hsl": {
    "h": 53.919,
    "s": 69.811,
    "l": 58.431
  },
  "oklch": {
    "l": 0.84611,
    "c": 0.15036,
    "h": 102.8
  },
  "luminance": 0.61308
}

Semantic roles & 50–950 ramp

primary
#DFD04B
secondary
#353F99
accent
#4DED3B
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #DFD04B

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

Preview Lab → · Contrast checker → · Palette generator →

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