#DFDB7B#DFDB7B

#DFDB7B is a very light, moderate yellow. Relative luminance 0.678; OKLCH L 87.4% C 0.119 H 106.5°. Best body text is #000000 at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#DFDB7B
RGBrgb(223, 219, 123)
HSLhsl(58, 61%, 68%)
HSVhsv(58, 45%, 87%)
CMYKcmyk(0%, 1.8%, 44.8%, 12.5%)
CIE-LABlab(85.90, -11.88, 47.46)
CIE-LCHlch(85.90, 48.93, 104.05°)
OKLaboklab(87.43% -0.0337 0.1138)
OKLCHoklch(87.43% 0.119 106.5)
XYZxyz(59.3393, 67.7826, 28.6925)
Luminance0.6778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDB7B #7B7FDF
analogous
#DFA97B #DFDB7B #B1DF7B
triadic
#DFDB7B #7BDFDB #DB7BDF
tetradic
#DFDB7B #7BDFA9 #7B7FDF #DF7BB1
square
#DFDB7B #7BDFA9 #7B7FDF #DF7BB1
split-complementary
#DFDB7B #7BB1DF #A97BDF
monochromatic
#B4AF2C #D3CE4A #DFDB7B #EBE8AC #F7F6DE

Accessibility & contrast

On white

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

On black

14.56
#DFDB7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDB7B
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDB7B#FFFFFF#000000##000000
##DFDB7B1.001.4414.5614.56
#FFFFFF1.441.0021.0021.00
#00000014.5621.001.001.00
##00000014.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D473
Deuteranopia (green-blind)
#ECD97F
Tritanopia (blue-blind)
#ECD0C4
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #dfdb7b;
/* rgb */ color: rgb(223, 219, 123);
/* oklch */ color: oklch(87.4% 0.119 106.5);
Tailwind
colors: {
  custom: {
    50: '#ebe6a3',
    500: '#dfdb7b',
    950: '#000000',
  },
}
SCSS
$custom: #dfdb7b;
$custom-light: #ebe6a3;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdb7b",
  "rgb": {
    "r": 223,
    "g": 219,
    "b": 123
  },
  "hsl": {
    "h": 57.6,
    "s": 60.976,
    "l": 67.843
  },
  "oklch": {
    "l": 0.87429,
    "c": 0.11872,
    "h": 106.5
  },
  "luminance": 0.67781
}

Semantic roles & 50–950 ramp

primary
#DFDB7B
secondary
#494DB5
accent
#24C91D
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #DFDB7B

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

Preview Lab → · Contrast checker → · Palette generator →

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