#DEDB5F#DEDB5F

#DEDB5F is a very light, vivid yellow. Relative luminance 0.670; OKLCH L 87.0% C 0.145 H 107.8°. Best body text is #000000 at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#DEDB5F
RGBrgb(222, 219, 95)
HSLhsl(59, 66%, 62%)
HSVhsv(59, 57%, 87%)
CMYKcmyk(0%, 1.4%, 57.2%, 12.9%)
CIE-LABlab(85.51, -14.63, 59.97)
CIE-LCHlch(85.51, 61.73, 103.71°)
OKLaboklab(87.01% -0.0444 0.1384)
OKLCHoklch(87.01% 0.145 107.8)
XYZxyz(57.5230, 67.0205, 20.7304)
Luminance0.6702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDB5F #5F62DE
analogous
#DE9C5F #DEDB5F #A1DE5F
triadic
#DEDB5F #5FDEDB #DB5FDE
tetradic
#DEDB5F #5FDE9C #5F62DE #DE5FA1
square
#DEDB5F #5FDE9C #5F62DE #DE5FA1
split-complementary
#DEDB5F #5FA1DE #9C5FDE
monochromatic
#A19E21 #D4D02C #DEDB5F #E8E692 #F3F2C4

Accessibility & contrast

On white

1.46
#DEDB5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.40
#DEDB5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEDB5F
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEDB5F#FFFFFF#000000##000000
##DEDB5F1.001.4614.4014.40
#FFFFFF1.461.0021.0021.00
#00000014.4021.001.001.00
##00000014.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD352
Deuteranopia (green-blind)
#EED866
Tritanopia (blue-blind)
#ECCEC0
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dedb5f;
/* rgb */ color: rgb(222, 219, 95);
/* oklch */ color: oklch(87.0% 0.145 107.8);
Tailwind
colors: {
  custom: {
    50: '#ebe691',
    500: '#dedb5f',
    950: '#000000',
  },
}
SCSS
$custom: #dedb5f;
$custom-light: #ebe691;
$custom-dark: #000000;
JSON
{
  "hex": "#dedb5f",
  "rgb": {
    "r": 222,
    "g": 219,
    "b": 95
  },
  "hsl": {
    "h": 58.583,
    "s": 65.803,
    "l": 62.157
  },
  "oklch": {
    "l": 0.87007,
    "c": 0.14533,
    "h": 107.8
  },
  "luminance": 0.67019
}

Semantic roles & 50–950 ramp

primary
#DEDB5F
secondary
#3D3FA4
accent
#1CCE18
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #DEDB5F

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

Preview Lab → · Contrast checker → · Palette generator →

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