#DFDB4A#DFDB4A

#DFDB4A is a very light, vivid yellow. Relative luminance 0.668; OKLCH L 86.9% C 0.161 H 107.8°. Best body text is #000000 at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#DFDB4A
RGBrgb(223, 219, 74)
HSLhsl(58, 70%, 58%)
HSVhsv(58, 67%, 87%)
CMYKcmyk(0%, 1.8%, 66.8%, 12.5%)
CIE-LABlab(85.43, -15.53, 68.51)
CIE-LCHlch(85.43, 70.25, 102.78°)
OKLaboklab(86.9% -0.0492 0.1535)
OKLCHoklch(86.9% 0.161 107.8)
XYZxyz(57.0010, 66.8472, 16.3774)
Luminance0.6684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDB4A #4A4EDF
analogous
#DF904A #DFDB4A #98DF4A
triadic
#DFDB4A #4ADFDB #DB4ADF
tetradic
#DFDB4A #4ADF90 #4A4EDF #DF4A98
square
#DFDB4A #4ADF90 #4A4EDF #DF4A98
split-complementary
#DFDB4A #4A98DF #904ADF
monochromatic
#94911A #C8C423 #DFDB4A #E8E57E #F1F0B2

Accessibility & contrast

On white

1.46
#DFDB4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.37
#DFDB4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDB4A
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDB4A#FFFFFF#000000##000000
##DFDB4A1.001.4614.3714.37
#FFFFFF1.461.0021.0021.00
#00000014.3721.001.001.00
##00000014.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD335
Deuteranopia (green-blind)
#EFD854
Tritanopia (blue-blind)
#EFCDBE
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dfdb4a;
/* rgb */ color: rgb(223, 219, 74);
/* oklch */ color: oklch(86.9% 0.161 107.8);
Tailwind
colors: {
  custom: {
    50: '#ece584',
    500: '#dfdb4a',
    950: '#000000',
  },
}
SCSS
$custom: #dfdb4a;
$custom-light: #ece584;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdb4a",
  "rgb": {
    "r": 223,
    "g": 219,
    "b": 74
  },
  "hsl": {
    "h": 58.389,
    "s": 69.953,
    "l": 58.235
  },
  "oklch": {
    "l": 0.86902,
    "c": 0.16115,
    "h": 107.8
  },
  "luminance": 0.66845
}

Semantic roles & 50–950 ramp

primary
#DFDB4A
secondary
#343799
accent
#40ED3B
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #DFDB4A

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

Preview Lab → · Contrast checker → · Palette generator →

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