#DED75B#DED75B

#DED75B is a very light, vivid yellow. Relative luminance 0.649; OKLCH L 86.1% C 0.145 H 106.0°. Best body text is #000000 at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#DED75B
RGBrgb(222, 215, 91)
HSLhsl(57, 66%, 61%)
HSVhsv(57, 59%, 87%)
CMYKcmyk(0%, 3.2%, 59%, 12.9%)
CIE-LABlab(84.43, -12.92, 60.50)
CIE-LCHlch(84.43, 61.87, 102.05°)
OKLaboklab(86.13% -0.0399 0.139)
OKLCHoklch(86.13% 0.145 106)
XYZxyz(56.3148, 64.8876, 19.4536)
Luminance0.6489 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED75B #5B62DE
analogous
#DE965B #DED75B #A4DE5B
triadic
#DED75B #5BDED7 #D75BDE
tetradic
#DED75B #5BDE96 #5B62DE #DE5BA4
square
#DED75B #5BDE96 #5B62DE #DE5BA4
split-complementary
#DED75B #5BA4DE #965BDE
monochromatic
#9F9820 #D2C92A #DED75B #E8E38E #F3F0C1

Accessibility & contrast

On white

1.50
#DED75B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.98
#DED75B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED75B
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED75B#FFFFFF#000000##000000
##DED75B1.001.5013.9813.98
#FFFFFF1.501.0021.0021.00
#00000013.9821.001.001.00
##00000013.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D04D
Deuteranopia (green-blind)
#EBD562
Tritanopia (blue-blind)
#EDCABC
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #ded75b;
/* rgb */ color: rgb(222, 215, 91);
/* oklch */ color: oklch(86.1% 0.145 106.0);
Tailwind
colors: {
  custom: {
    50: '#ebe38e',
    500: '#ded75b',
    950: '#000000',
  },
}
SCSS
$custom: #ded75b;
$custom-light: #ebe38e;
$custom-dark: #000000;
JSON
{
  "hex": "#ded75b",
  "rgb": {
    "r": 222,
    "g": 215,
    "b": 91
  },
  "hsl": {
    "h": 56.794,
    "s": 66.497,
    "l": 61.373
  },
  "oklch": {
    "l": 0.86128,
    "c": 0.14466,
    "h": 106
  },
  "luminance": 0.64886
}

Semantic roles & 50–950 ramp

primary
#DED75B
secondary
#3B41A2
accent
#21CE17
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #DED75B

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

Preview Lab → · Contrast checker → · Palette generator →

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