#DFD77F#DFD77F

#DFD77F is a very light, moderate yellow. Relative luminance 0.658; OKLCH L 86.7% C 0.110 H 103.9°. Best body text is #000000 at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#DFD77F
RGBrgb(223, 215, 127)
HSLhsl(55, 60%, 69%)
HSVhsv(55, 43%, 87%)
CMYKcmyk(0%, 3.6%, 43%, 12.5%)
CIE-LABlab(84.91, -9.47, 44.28)
CIE-LCHlch(84.91, 45.28, 102.07°)
OKLaboklab(86.66% -0.0265 0.107)
OKLCHoklch(86.66% 0.11 103.9)
XYZxyz(58.5638, 65.8228, 29.6946)
Luminance0.6582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD77F #7F87DF
analogous
#DFA77F #DFD77F #B7DF7F
triadic
#DFD77F #7FDFD7 #D77FDF
tetradic
#DFD77F #7FDFA7 #7F87DF #DF7FB7
square
#DFD77F #7FDFA7 #7F87DF #DF7FB7
split-complementary
#DFD77F #7FB7DF #A77FDF
monochromatic
#B6AB2E #D3C84E #DFD77F #EBE6B0 #F7F6E1

Accessibility & contrast

On white

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

On black

14.16
#DFD77F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD77F
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD77F#FFFFFF#000000##000000
##DFD77F1.001.4814.1614.16
#FFFFFF1.481.0021.0021.00
#00000014.1621.001.001.00
##00000014.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D178
Deuteranopia (green-blind)
#E8D683
Tritanopia (blue-blind)
#ECCCC2
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dfd77f;
/* rgb */ color: rgb(223, 215, 127);
/* oklch */ color: oklch(86.7% 0.110 103.9);
Tailwind
colors: {
  custom: {
    50: '#eae3a5',
    500: '#dfd77f',
    950: '#000000',
  },
}
SCSS
$custom: #dfd77f;
$custom-light: #eae3a5;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd77f",
  "rgb": {
    "r": 223,
    "g": 215,
    "b": 127
  },
  "hsl": {
    "h": 55,
    "s": 60,
    "l": 68.627
  },
  "oklch": {
    "l": 0.86658,
    "c": 0.1102,
    "h": 103.9
  },
  "luminance": 0.65821
}

Semantic roles & 50–950 ramp

primary
#DFD77F
secondary
#4C55B6
accent
#2CC81E
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #DFD77F

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

Preview Lab → · Contrast checker → · Palette generator →

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