#DFDB5F#DFDB5F

#DFDB5F is a very light, vivid yellow. Relative luminance 0.672; OKLCH L 87.1% C 0.145 H 107.3°. Best body text is #000000 at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#DFDB5F
RGBrgb(223, 219, 95)
HSLhsl(58, 67%, 62%)
HSVhsv(58, 57%, 87%)
CMYKcmyk(0%, 1.8%, 57.4%, 12.5%)
CIE-LABlab(85.59, -14.22, 60.08)
CIE-LCHlch(85.59, 61.74, 103.32°)
OKLaboklab(87.09% -0.0433 0.1386)
OKLCHoklch(87.09% 0.145 107.3)
XYZxyz(57.8303, 67.1789, 20.7448)
Luminance0.6718 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDB5F #5F63DF
analogous
#DF9B5F #DFDB5F #A3DF5F
triadic
#DFDB5F #5FDFDB #DB5FDF
tetradic
#DFDB5F #5FDF9B #5F63DF #DF5FA3
square
#DFDB5F #5FDF9B #5F63DF #DF5FA3
split-complementary
#DFDB5F #5FA3DF #9B5FDF
monochromatic
#A39F21 #D5D02C #DFDB5F #E9E692 #F3F2C5

Accessibility & contrast

On white

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

On black

14.44
#DFDB5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDB5F
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDB5F#FFFFFF#000000##000000
##DFDB5F1.001.4514.4414.44
#FFFFFF1.451.0021.0021.00
#00000014.4421.001.001.00
##00000014.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD352
Deuteranopia (green-blind)
#EED866
Tritanopia (blue-blind)
#EECEC0
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dfdb5f;
/* rgb */ color: rgb(223, 219, 95);
/* oklch */ color: oklch(87.1% 0.145 107.3);
Tailwind
colors: {
  custom: {
    50: '#ece591',
    500: '#dfdb5f',
    950: '#000000',
  },
}
SCSS
$custom: #dfdb5f;
$custom-light: #ece591;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdb5f",
  "rgb": {
    "r": 223,
    "g": 219,
    "b": 95
  },
  "hsl": {
    "h": 58.125,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.8709,
    "c": 0.1452,
    "h": 107.3
  },
  "luminance": 0.67177
}

Semantic roles & 50–950 ramp

primary
#DFDB5F
secondary
#3C40A6
accent
#1DCF17
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #DFDB5F

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

Preview Lab → · Contrast checker → · Palette generator →

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