#DFD77C#DFD77C

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

Color values

HEX#DFD77C
RGBrgb(223, 215, 124)
HSLhsl(55, 61%, 68%)
HSVhsv(55, 44%, 87%)
CMYKcmyk(0%, 3.6%, 44.4%, 12.5%)
CIE-LABlab(84.87, -9.77, 45.70)
CIE-LCHlch(84.87, 46.74, 102.06°)
OKLaboklab(86.61% -0.0276 0.11)
OKLCHoklch(86.61% 0.113 104.1)
XYZxyz(58.3712, 65.7457, 28.6802)
Luminance0.6574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD77C #7C84DF
analogous
#DFA67C #DFD77C #B5DF7C
triadic
#DFD77C #7CDFD7 #D77CDF
tetradic
#DFD77C #7CDFA6 #7C84DF #DF7CB5
square
#DFD77C #7CDFA6 #7C84DF #DF7CB5
split-complementary
#DFD77C #7CB5DF #A67CDF
monochromatic
#B5A92C #D3C84B #DFD77C #EBE6AD #F7F5DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFD77C#FFFFFF#000000##000000
##DFD77C1.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)
#E5D175
Deuteranopia (green-blind)
#E8D680
Tritanopia (blue-blind)
#ECCCC1
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dfd77c;
/* rgb */ color: rgb(223, 215, 124);
/* oklch */ color: oklch(86.6% 0.113 104.1);
Tailwind
colors: {
  custom: {
    50: '#ebe3a3',
    500: '#dfd77c',
    950: '#000000',
  },
}
SCSS
$custom: #dfd77c;
$custom-light: #ebe3a3;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd77c",
  "rgb": {
    "r": 223,
    "g": 215,
    "b": 124
  },
  "hsl": {
    "h": 55.152,
    "s": 60.736,
    "l": 68.039
  },
  "oklch": {
    "l": 0.86614,
    "c": 0.11339,
    "h": 104.1
  },
  "luminance": 0.65744
}

Semantic roles & 50–950 ramp

primary
#DFD77C
secondary
#4952B6
accent
#2BC81D
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #DFD77C

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

Preview Lab → · Contrast checker → · Palette generator →

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