#DED77B#DED77B

#DED77B is a very light, moderate yellow. Relative luminance 0.656; OKLCH L 86.5% C 0.114 H 104.7°. Best body text is #000000 at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#DED77B
RGBrgb(222, 215, 123)
HSLhsl(56, 60%, 68%)
HSVhsv(56, 45%, 87%)
CMYKcmyk(0%, 3.2%, 44.6%, 12.9%)
CIE-LABlab(84.77, -10.26, 46.06)
CIE-LCHlch(84.77, 47.19, 102.56°)
OKLaboklab(86.52% -0.029 0.1107)
OKLCHoklch(86.52% 0.114 104.7)
XYZxyz(58.0010, 65.5621, 28.3345)
Luminance0.6556 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED77B #7B82DE
analogous
#DEA67B #DED77B #B3DE7B
triadic
#DED77B #7BDED7 #D77BDE
tetradic
#DED77B #7BDEA6 #7B82DE #DE7BB3
square
#DED77B #7BDEA6 #7B82DE #DE7BB3
split-complementary
#DED77B #7BB3DE #A67BDE
monochromatic
#B2A92D #D2C84A #DED77B #EAE6AC #F6F5DD

Accessibility & contrast

On white

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

On black

14.11
#DED77B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED77B
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED77B#FFFFFF#000000##000000
##DED77B1.001.4914.1114.11
#FFFFFF1.491.0021.0021.00
#00000014.1121.001.001.00
##00000014.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ded77b;
/* rgb */ color: rgb(222, 215, 123);
/* oklch */ color: oklch(86.5% 0.114 104.7);
Tailwind
colors: {
  custom: {
    50: '#eae3a3',
    500: '#ded77b',
    950: '#000000',
  },
}
SCSS
$custom: #ded77b;
$custom-light: #eae3a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ded77b",
  "rgb": {
    "r": 222,
    "g": 215,
    "b": 123
  },
  "hsl": {
    "h": 55.758,
    "s": 60,
    "l": 67.647
  },
  "oklch": {
    "l": 0.86516,
    "c": 0.11446,
    "h": 104.7
  },
  "luminance": 0.65561
}

Semantic roles & 50–950 ramp

primary
#DED77B
secondary
#4951B4
accent
#2AC81E
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150F
muted
#858480

Preview Lab

Preview with #DED77B

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

Preview Lab → · Contrast checker → · Palette generator →

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