#DFD77E#DFD77E

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

Color values

HEX#DFD77E
RGBrgb(223, 215, 126)
HSLhsl(55, 60%, 68%)
HSVhsv(55, 43%, 87%)
CMYKcmyk(0%, 3.6%, 43.5%, 12.5%)
CIE-LABlab(84.89, -9.57, 44.75)
CIE-LCHlch(84.89, 45.77, 102.07°)
OKLaboklab(86.64% -0.0268 0.108)
OKLCHoklch(86.64% 0.111 104)
XYZxyz(58.4990, 65.7968, 29.3531)
Luminance0.6580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD77E #7E86DF
analogous
#DFA67E #DFD77E #B6DF7E
triadic
#DFD77E #7EDFD7 #D77EDF
tetradic
#DFD77E #7EDFA6 #7E86DF #DF7EB6
square
#DFD77E #7EDFA6 #7E86DF #DF7EB6
split-complementary
#DFD77E #7EB6DF #A67EDF
monochromatic
#B6AA2D #D3C84D #DFD77E #EBE6AF #F7F5E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFD77E#FFFFFF#000000##000000
##DFD77E1.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)
#E5D177
Deuteranopia (green-blind)
#E8D682
Tritanopia (blue-blind)
#ECCCC2
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dfd77e;
/* rgb */ color: rgb(223, 215, 126);
/* oklch */ color: oklch(86.6% 0.111 104.0);
Tailwind
colors: {
  custom: {
    50: '#eae3a5',
    500: '#dfd77e',
    950: '#000000',
  },
}
SCSS
$custom: #dfd77e;
$custom-light: #eae3a5;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd77e",
  "rgb": {
    "r": 223,
    "g": 215,
    "b": 126
  },
  "hsl": {
    "h": 55.052,
    "s": 60.248,
    "l": 68.431
  },
  "oklch": {
    "l": 0.86643,
    "c": 0.11127,
    "h": 104
  },
  "luminance": 0.65795
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DFD77E

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

Preview Lab → · Contrast checker → · Palette generator →

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