#DFD77D#DFD77D

#DFD77D is a very light, moderate yellow. Relative luminance 0.658; OKLCH L 86.6% C 0.112 H 104.0°. Best body text is #000000 at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#DFD77D
RGBrgb(223, 215, 125)
HSLhsl(55, 60%, 68%)
HSVhsv(55, 44%, 87%)
CMYKcmyk(0%, 3.6%, 43.9%, 12.5%)
CIE-LABlab(84.88, -9.67, 45.23)
CIE-LCHlch(84.88, 46.25, 102.07°)
OKLaboklab(86.63% -0.0272 0.109)
OKLCHoklch(86.63% 0.112 104)
XYZxyz(58.4348, 65.7711, 29.0150)
Luminance0.6577 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD77D #7D85DF
analogous
#DFA67D #DFD77D #B6DF7D
triadic
#DFD77D #7DDFD7 #D77DDF
tetradic
#DFD77D #7DDFA6 #7D85DF #DF7DB6
square
#DFD77D #7DDFA6 #7D85DF #DF7DB6
split-complementary
#DFD77D #7DB6DF #A67DDF
monochromatic
#B5AA2D #D3C84C #DFD77D #EBE6AE #F7F5DF

Accessibility & contrast

On white

1.48
#DFD77D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.15
#DFD77D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD77D
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD77D#FFFFFF#000000##000000
##DFD77D1.001.4814.1514.15
#FFFFFF1.481.0021.0021.00
#00000014.1521.001.001.00
##00000014.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D176
Deuteranopia (green-blind)
#E8D681
Tritanopia (blue-blind)
#ECCCC1
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dfd77d;
/* rgb */ color: rgb(223, 215, 125);
/* oklch */ color: oklch(86.6% 0.112 104.0);
Tailwind
colors: {
  custom: {
    50: '#eae3a4',
    500: '#dfd77d',
    950: '#000000',
  },
}
SCSS
$custom: #dfd77d;
$custom-light: #eae3a4;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd77d",
  "rgb": {
    "r": 223,
    "g": 215,
    "b": 125
  },
  "hsl": {
    "h": 55.102,
    "s": 60.494,
    "l": 68.235
  },
  "oklch": {
    "l": 0.86629,
    "c": 0.11233,
    "h": 104
  },
  "luminance": 0.6577
}

Semantic roles & 50–950 ramp

primary
#DFD77D
secondary
#4A53B6
accent
#2BC81D
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #DFD77D

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

Preview Lab → · Contrast checker → · Palette generator →

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