#DFD77A#DFD77A

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

Color values

HEX#DFD77A
RGBrgb(223, 215, 122)
HSLhsl(55, 61%, 68%)
HSVhsv(55, 45%, 87%)
CMYKcmyk(0%, 3.6%, 45.3%, 12.5%)
CIE-LABlab(84.84, -9.96, 46.65)
CIE-LCHlch(84.84, 47.70, 102.05°)
OKLaboklab(86.59% -0.0283 0.112)
OKLCHoklch(86.59% 0.115 104.2)
XYZxyz(58.2460, 65.6956, 28.0209)
Luminance0.6569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD77A #7A82DF
analogous
#DFA57A #DFD77A #B4DF7A
triadic
#DFD77A #7ADFD7 #D77ADF
tetradic
#DFD77A #7ADFA5 #7A82DF #DF7AB4
square
#DFD77A #7ADFA5 #7A82DF #DF7AB4
split-complementary
#DFD77A #7AB4DF #A57ADF
monochromatic
#B3A92B #D3C849 #DFD77A #EBE6AB #F7F5DD

Accessibility & contrast

On white

1.49
#DFD77A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.14
#DFD77A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD77A
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD77A#FFFFFF#000000##000000
##DFD77A1.001.4914.1414.14
#FFFFFF1.491.0021.0021.00
#00000014.1421.001.001.00
##00000014.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfd77a;
/* rgb */ color: rgb(223, 215, 122);
/* oklch */ color: oklch(86.6% 0.115 104.2);
Tailwind
colors: {
  custom: {
    50: '#ebe3a2',
    500: '#dfd77a',
    950: '#000000',
  },
}
SCSS
$custom: #dfd77a;
$custom-light: #ebe3a2;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd77a",
  "rgb": {
    "r": 223,
    "g": 215,
    "b": 122
  },
  "hsl": {
    "h": 55.248,
    "s": 61.212,
    "l": 67.647
  },
  "oklch": {
    "l": 0.86586,
    "c": 0.11548,
    "h": 104.2
  },
  "luminance": 0.65694
}

Semantic roles & 50–950 ramp

primary
#DFD77A
secondary
#4851B5
accent
#2AC91D
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150F
muted
#858480

Preview Lab

Preview with #DFD77A

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

Preview Lab → · Contrast checker → · Palette generator →

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