#DFD07B#DFD07B

#DFD07B is a very light, moderate yellow. Relative luminance 0.622; OKLCH L 85.2% C 0.107 H 99.5°. Best body text is #000000 at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#DFD07B
RGBrgb(223, 208, 123)
HSLhsl(51, 61%, 68%)
HSVhsv(51, 45%, 87%)
CMYKcmyk(0%, 6.7%, 44.8%, 12.5%)
CIE-LABlab(83.04, -6.31, 43.92)
CIE-LCHlch(83.04, 44.37, 98.18°)
OKLaboklab(85.16% -0.0177 0.1059)
OKLCHoklch(85.16% 0.107 99.5)
XYZxyz(56.5639, 62.2317, 27.7674)
Luminance0.6223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD07B #7B8ADF
analogous
#DF9E7B #DFD07B #BCDF7B
triadic
#DFD07B #7BDFD0 #D07BDF
tetradic
#DFD07B #7BDF9E #7B8ADF #DF7BBC
square
#DFD07B #7BDF9E #7B8ADF #DF7BBC
split-complementary
#DFD07B #7BBCDF #9E7BDF
monochromatic
#B4A02C #D3BE4A #DFD07B #EBE2AC #F7F3DE

Accessibility & contrast

On white

1.56
#DFD07B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.45
#DFD07B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD07B
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD07B#FFFFFF#000000##000000
##DFD07B1.001.5613.4513.45
#FFFFFF1.561.0021.0021.00
#00000013.4521.001.001.00
##00000013.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCB74
Deuteranopia (green-blind)
#E3D17E
Tritanopia (blue-blind)
#ECC5BB
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dfd07b;
/* rgb */ color: rgb(223, 208, 123);
/* oklch */ color: oklch(85.2% 0.107 99.5);
Tailwind
colors: {
  custom: {
    50: '#ebdea2',
    500: '#dfd07b',
    950: '#000000',
  },
}
SCSS
$custom: #dfd07b;
$custom-light: #ebdea2;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd07b",
  "rgb": {
    "r": 223,
    "g": 208,
    "b": 123
  },
  "hsl": {
    "h": 51,
    "s": 60.976,
    "l": 67.843
  },
  "oklch": {
    "l": 0.85159,
    "c": 0.1074,
    "h": 99.5
  },
  "luminance": 0.6223
}

Semantic roles & 50–950 ramp

primary
#DFD07B
secondary
#4959B5
accent
#37C91D
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150F
muted
#858480

Preview Lab

Preview with #DFD07B

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

Preview Lab → · Contrast checker → · Palette generator →

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