#DFDC5A#DFDC5A

#DFDC5A is a very light, vivid yellow. Relative luminance 0.676; OKLCH L 87.3% C 0.150 H 107.9°. Best body text is #000000 at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#DFDC5A
RGBrgb(223, 220, 90)
HSLhsl(59, 68%, 61%)
HSVhsv(59, 60%, 87%)
CMYKcmyk(0%, 1.3%, 59.6%, 12.5%)
CIE-LABlab(85.81, -15.06, 62.47)
CIE-LCHlch(85.81, 64.26, 103.56°)
OKLaboklab(87.25% -0.0462 0.1431)
OKLCHoklch(87.25% 0.15 107.9)
XYZxyz(57.8719, 67.6143, 19.6732)
Luminance0.6761 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDC5A #5A5DDF
analogous
#DF9A5A #DFDC5A #A0DF5A
triadic
#DFDC5A #5ADFDC #DC5ADF
tetradic
#DFDC5A #5ADF9A #5A5DDF #DF5AA0
square
#DFDC5A #5ADF9A #5A5DDF #DF5AA0
split-complementary
#DFDC5A #5AA0DF #9A5ADF
monochromatic
#A09D1F #D3CF29 #DFDC5A #E9E78D #F3F2C1

Accessibility & contrast

On white

1.45
#DFDC5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.52
#DFDC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDC5A
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDC5A#FFFFFF#000000##000000
##DFDC5A1.001.4514.5214.52
#FFFFFF1.451.0021.0021.00
#00000014.5221.001.001.00
##00000014.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfdc5a;
/* rgb */ color: rgb(223, 220, 90);
/* oklch */ color: oklch(87.3% 0.150 107.9);
Tailwind
colors: {
  custom: {
    50: '#ece68e',
    500: '#dfdc5a',
    950: '#000000',
  },
}
SCSS
$custom: #dfdc5a;
$custom-light: #ece68e;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdc5a",
  "rgb": {
    "r": 223,
    "g": 220,
    "b": 90
  },
  "hsl": {
    "h": 58.647,
    "s": 67.513,
    "l": 61.373
  },
  "oklch": {
    "l": 0.8725,
    "c": 0.15034,
    "h": 107.9
  },
  "luminance": 0.67613
}

Semantic roles & 50–950 ramp

primary
#DFDC5A
secondary
#3A3DA3
accent
#1ACF16
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #DFDC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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