#DFDA5D#DFDA5D

#DFDA5D is a very light, vivid yellow. Relative luminance 0.666; OKLCH L 86.9% C 0.146 H 106.9°. Best body text is #000000 at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#DFDA5D
RGBrgb(223, 218, 93)
HSLhsl(58, 67%, 62%)
HSVhsv(58, 58%, 87%)
CMYKcmyk(0%, 2.2%, 58.3%, 12.5%)
CIE-LABlab(85.31, -13.87, 60.64)
CIE-LCHlch(85.31, 62.20, 102.88°)
OKLaboklab(86.86% -0.0425 0.1396)
OKLCHoklch(86.86% 0.146 106.9)
XYZxyz(57.4804, 66.6229, 20.1854)
Luminance0.6662 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDA5D #5D62DF
analogous
#DF995D #DFDA5D #A3DF5D
triadic
#DFDA5D #5DDFDA #DA5DDF
tetradic
#DFDA5D #5DDF99 #5D62DF #DF5DA3
square
#DFDA5D #5DDF99 #5D62DF #DF5DA3
split-complementary
#DFDA5D #5DA3DF #995DDF
monochromatic
#A29D20 #D5CE2A #DFDA5D #E9E690 #F3F1C3

Accessibility & contrast

On white

1.47
#DFDA5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.32
#DFDA5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDA5D
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDA5D#FFFFFF#000000##000000
##DFDA5D1.001.4714.3214.32
#FFFFFF1.471.0021.0021.00
#00000014.3221.001.001.00
##00000014.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD24F
Deuteranopia (green-blind)
#EDD864
Tritanopia (blue-blind)
#EECDBF
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dfda5d;
/* rgb */ color: rgb(223, 218, 93);
/* oklch */ color: oklch(86.9% 0.146 106.9);
Tailwind
colors: {
  custom: {
    50: '#ece58f',
    500: '#dfda5d',
    950: '#000000',
  },
}
SCSS
$custom: #dfda5d;
$custom-light: #ece58f;
$custom-dark: #000000;
JSON
{
  "hex": "#dfda5d",
  "rgb": {
    "r": 223,
    "g": 218,
    "b": 93
  },
  "hsl": {
    "h": 57.692,
    "s": 67.01,
    "l": 61.961
  },
  "oklch": {
    "l": 0.8686,
    "c": 0.14588,
    "h": 106.9
  },
  "luminance": 0.66621
}

Semantic roles & 50–950 ramp

primary
#DFDA5D
secondary
#3C40A5
accent
#1ECF17
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #DFDA5D

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

Preview Lab → · Contrast checker → · Palette generator →

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