#DFDD51#DFDD51

#DFDD51 is a very light, vivid yellow. Relative luminance 0.680; OKLCH L 87.4% C 0.158 H 108.5°. Best body text is #000000 at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#DFDD51
RGBrgb(223, 221, 81)
HSLhsl(59, 69%, 60%)
HSVhsv(59, 64%, 87%)
CMYKcmyk(0%, 0.9%, 63.7%, 12.5%)
CIE-LABlab(86.00, -16.13, 66.38)
CIE-LCHlch(86.00, 68.31, 103.66°)
OKLaboklab(87.38% -0.0502 0.1501)
OKLCHoklch(87.38% 0.158 108.5)
XYZxyz(57.7750, 67.9967, 17.8643)
Luminance0.6800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDD51 #5153DF
analogous
#DF9651 #DFDD51 #9ADF51
triadic
#DFDD51 #51DFDD #DD51DF
tetradic
#DFDD51 #51DF96 #5153DF #DF519A
square
#DFDD51 #51DF96 #5153DF #DF519A
split-complementary
#DFDD51 #519ADF #9651DF
monochromatic
#99981C #CDCB26 #DFDD51 #E9E785 #F2F1B8

Accessibility & contrast

On white

1.44
#DFDD51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.60
#DFDD51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDD51
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDD51#FFFFFF#000000##000000
##DFDD511.001.4414.6014.60
#FFFFFF1.441.0021.0021.00
#00000014.6021.001.001.00
##00000014.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED43E
Deuteranopia (green-blind)
#F0D95A
Tritanopia (blue-blind)
#EECFC0
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #dfdd51;
/* rgb */ color: rgb(223, 221, 81);
/* oklch */ color: oklch(87.4% 0.158 108.5);
Tailwind
colors: {
  custom: {
    50: '#ece789',
    500: '#dfdd51',
    950: '#000000',
  },
}
SCSS
$custom: #dfdd51;
$custom-light: #ece789;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdd51",
  "rgb": {
    "r": 223,
    "g": 221,
    "b": 81
  },
  "hsl": {
    "h": 59.155,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.8738,
    "c": 0.15822,
    "h": 108.5
  },
  "luminance": 0.67995
}

Semantic roles & 50–950 ramp

primary
#DFDD51
secondary
#37389D
accent
#3FEC3C
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #DFDD51

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

Preview Lab → · Contrast checker → · Palette generator →

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