#DFD77B#DFD77B

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

Color values

HEX#DFD77B
RGBrgb(223, 215, 123)
HSLhsl(55, 61%, 68%)
HSVhsv(55, 45%, 87%)
CMYKcmyk(0%, 3.6%, 44.8%, 12.5%)
CIE-LABlab(84.85, -9.87, 46.18)
CIE-LCHlch(84.85, 47.22, 102.06°)
OKLaboklab(86.6% -0.028 0.111)
OKLCHoklch(86.6% 0.114 104.1)
XYZxyz(58.3083, 65.7205, 28.3489)
Luminance0.6572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD77B #7B83DF
analogous
#DFA57B #DFD77B #B5DF7B
triadic
#DFD77B #7BDFD7 #D77BDF
tetradic
#DFD77B #7BDFA5 #7B83DF #DF7BB5
square
#DFD77B #7BDFA5 #7B83DF #DF7BB5
split-complementary
#DFD77B #7BB5DF #A57BDF
monochromatic
#B4A92C #D3C84A #DFD77B #EBE6AC #F7F5DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFD77B#FFFFFF#000000##000000
##DFD77B1.001.4814.1414.14
#FFFFFF1.481.0021.0021.00
#00000014.1421.001.001.00
##00000014.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfd77b;
/* rgb */ color: rgb(223, 215, 123);
/* oklch */ color: oklch(86.6% 0.114 104.1);
Tailwind
colors: {
  custom: {
    50: '#ebe3a3',
    500: '#dfd77b',
    950: '#000000',
  },
}
SCSS
$custom: #dfd77b;
$custom-light: #ebe3a3;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd77b",
  "rgb": {
    "r": 223,
    "g": 215,
    "b": 123
  },
  "hsl": {
    "h": 55.2,
    "s": 60.976,
    "l": 67.843
  },
  "oklch": {
    "l": 0.866,
    "c": 0.11444,
    "h": 104.1
  },
  "luminance": 0.65719
}

Semantic roles & 50–950 ramp

primary
#DFD77B
secondary
#4952B5
accent
#2BC91D
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150F
muted
#858480

Preview Lab

Preview with #DFD77B

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

Preview Lab → · Contrast checker → · Palette generator →

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