#DFD17B#DFD17B

#DFD17B is a very light, moderate yellow. Relative luminance 0.627; OKLCH L 85.4% C 0.108 H 100.2°. Best body text is #000000 at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#DFD17B
RGBrgb(223, 209, 123)
HSLhsl(52, 61%, 68%)
HSVhsv(52, 45%, 87%)
CMYKcmyk(0%, 6.3%, 44.8%, 12.5%)
CIE-LABlab(83.30, -6.82, 44.24)
CIE-LCHlch(83.30, 44.77, 98.77°)
OKLaboklab(85.36% -0.0192 0.1067)
OKLCHoklch(85.36% 0.108 100.2)
XYZxyz(56.8084, 62.7208, 27.8489)
Luminance0.6272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD17B #7B89DF
analogous
#DF9F7B #DFD17B #BBDF7B
triadic
#DFD17B #7BDFD1 #D17BDF
tetradic
#DFD17B #7BDF9F #7B89DF #DF7BBB
square
#DFD17B #7BDF9F #7B89DF #DF7BBB
split-complementary
#DFD17B #7BBBDF #9F7BDF
monochromatic
#B4A12C #D3C04A #DFD17B #EBE2AC #F7F3DE

Accessibility & contrast

On white

1.55
#DFD17B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.54
#DFD17B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD17B
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD17B#FFFFFF#000000##000000
##DFD17B1.001.5513.5413.54
#FFFFFF1.551.0021.0021.00
#00000013.5421.001.001.00
##00000013.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CC74
Deuteranopia (green-blind)
#E4D27F
Tritanopia (blue-blind)
#ECC6BC
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dfd17b;
/* rgb */ color: rgb(223, 209, 123);
/* oklch */ color: oklch(85.4% 0.108 100.2);
Tailwind
colors: {
  custom: {
    50: '#ebdea2',
    500: '#dfd17b',
    950: '#000000',
  },
}
SCSS
$custom: #dfd17b;
$custom-light: #ebdea2;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd17b",
  "rgb": {
    "r": 223,
    "g": 209,
    "b": 123
  },
  "hsl": {
    "h": 51.6,
    "s": 60.976,
    "l": 67.843
  },
  "oklch": {
    "l": 0.85364,
    "c": 0.10836,
    "h": 100.2
  },
  "luminance": 0.62719
}

Semantic roles & 50–950 ramp

primary
#DFD17B
secondary
#4958B5
accent
#35C91D
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150F
muted
#858480

Preview Lab

Preview with #DFD17B

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

Preview Lab → · Contrast checker → · Palette generator →

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