#DFD99B#DFD99B

#DFD99B is a very light, moderate yellow. Relative luminance 0.677; OKLCH L 87.5% C 0.080 H 103.2°. Best body text is #000000 at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#DFD99B
RGBrgb(223, 217, 155)
HSLhsl(55, 52%, 74%)
HSVhsv(55, 30%, 87%)
CMYKcmyk(0%, 2.7%, 30.5%, 12.5%)
CIE-LABlab(85.85, -7.33, 31.36)
CIE-LCHlch(85.85, 32.20, 103.15°)
OKLaboklab(87.54% -0.0184 0.0783)
OKLCHoklch(87.54% 0.08 103.2)
XYZxyz(61.1611, 67.6815, 40.8460)
Luminance0.6768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD99B #9BA1DF
analogous
#DFB79B #DFD99B #C3DF9B
triadic
#DFD99B #9BDFD9 #D99BDF
tetradic
#DFD99B #9BDFB7 #9BA1DF #DF9BC3
square
#DFD99B #9BDFB7 #9BA1DF #DF9BC3
split-complementary
#DFD99B #9BC3DF #B79BDF
monochromatic
#C1B63E #D0C76D #DFD99B #EEEBC9 #F8F6E8

Accessibility & contrast

On white

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

On black

14.54
#DFD99B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD99B
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD99B#FFFFFF#000000##000000
##DFD99B1.001.4414.5414.54
#FFFFFF1.441.0021.0021.00
#00000014.5421.001.001.00
##00000014.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D597
Deuteranopia (green-blind)
#E6D89D
Tritanopia (blue-blind)
#E9D1C9
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #dfd99b;
/* rgb */ color: rgb(223, 217, 155);
/* oklch */ color: oklch(87.5% 0.080 103.2);
Tailwind
colors: {
  custom: {
    50: '#eae4b9',
    500: '#dfd99b',
    950: '#000000',
  },
}
SCSS
$custom: #dfd99b;
$custom-light: #eae4b9;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd99b",
  "rgb": {
    "r": 223,
    "g": 217,
    "b": 155
  },
  "hsl": {
    "h": 54.706,
    "s": 51.515,
    "l": 74.118
  },
  "oklch": {
    "l": 0.87542,
    "c": 0.08047,
    "h": 103.2
  },
  "luminance": 0.6768
}

Semantic roles & 50–950 ramp

primary
#DFD99B
secondary
#676EB7
accent
#34BF27
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DFD99B

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

Preview Lab → · Contrast checker → · Palette generator →

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