#DFD07D#DFD07D

#DFD07D is a very light, moderate yellow. Relative luminance 0.623; OKLCH L 85.2% C 0.105 H 99.3°. Best body text is #000000 at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#DFD07D
RGBrgb(223, 208, 125)
HSLhsl(51, 60%, 68%)
HSVhsv(51, 44%, 87%)
CMYKcmyk(0%, 6.7%, 43.9%, 12.5%)
CIE-LABlab(83.06, -6.12, 42.96)
CIE-LCHlch(83.06, 43.40, 98.10°)
OKLaboklab(85.19% -0.017 0.1039)
OKLCHoklch(85.19% 0.105 99.3)
XYZxyz(56.6903, 62.2822, 28.4335)
Luminance0.6228 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD07D #7D8CDF
analogous
#DF9F7D #DFD07D #BDDF7D
triadic
#DFD07D #7DDFD0 #D07DDF
tetradic
#DFD07D #7DDF9F #7D8CDF #DF7DBD
square
#DFD07D #7DDF9F #7D8CDF #DF7DBD
split-complementary
#DFD07D #7DBDDF #9F7DDF
monochromatic
#B5A02D #D3BE4C #DFD07D #EBE2AE #F7F4DF

Accessibility & contrast

On white

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

On black

13.46
#DFD07D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD07D
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD07D#FFFFFF#000000##000000
##DFD07D1.001.5613.4613.46
#FFFFFF1.561.0021.0021.00
#00000013.4621.001.001.00
##00000013.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCC76
Deuteranopia (green-blind)
#E3D180
Tritanopia (blue-blind)
#ECC5BC
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dfd07d;
/* rgb */ color: rgb(223, 208, 125);
/* oklch */ color: oklch(85.2% 0.105 99.3);
Tailwind
colors: {
  custom: {
    50: '#eadea4',
    500: '#dfd07d',
    950: '#000000',
  },
}
SCSS
$custom: #dfd07d;
$custom-light: #eadea4;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd07d",
  "rgb": {
    "r": 223,
    "g": 208,
    "b": 125
  },
  "hsl": {
    "h": 50.816,
    "s": 60.494,
    "l": 68.235
  },
  "oklch": {
    "l": 0.85189,
    "c": 0.10528,
    "h": 99.3
  },
  "luminance": 0.6228
}

Semantic roles & 50–950 ramp

primary
#DFD07D
secondary
#4A5BB6
accent
#37C81D
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #DFD07D

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

Preview Lab → · Contrast checker → · Palette generator →

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