#DEC75D#DEC75D

#DEC75D is a very light, vivid yellow. Relative luminance 0.572; OKLCH L 82.8% C 0.128 H 97.2°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#DEC75D
RGBrgb(222, 199, 93)
HSLhsl(49, 66%, 62%)
HSVhsv(49, 58%, 87%)
CMYKcmyk(0%, 10.4%, 58.1%, 12.9%)
CIE-LABlab(80.27, -4.67, 54.98)
CIE-LCHlch(80.27, 55.17, 94.85°)
OKLaboklab(82.84% -0.0161 0.1275)
OKLCHoklch(82.84% 0.128 97.2)
XYZxyz(52.5255, 57.1691, 18.6218)
Luminance0.5717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC75D #5D74DE
analogous
#DE875D #DEC75D #B5DE5D
triadic
#DEC75D #5DDEC7 #C75DDE
tetradic
#DEC75D #5DDE87 #5D74DE #DE5DB5
square
#DEC75D #5DDE87 #5D74DE #DE5DB5
split-complementary
#DEC75D #5DB5DE #875DDE
monochromatic
#A08921 #D3B52B #DEC75D #E8D990 #F3EAC3

Accessibility & contrast

On white

1.69
#DEC75D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.43
#DEC75D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC75D
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC75D#FFFFFF#000000##000000
##DEC75D1.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C352
Deuteranopia (green-blind)
#DFCA62
Tritanopia (blue-blind)
#EEBAB0
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dec75d;
/* rgb */ color: rgb(222, 199, 93);
/* oklch */ color: oklch(82.8% 0.128 97.2);
Tailwind
colors: {
  custom: {
    50: '#ebd78e',
    500: '#dec75d',
    950: '#000000',
  },
}
SCSS
$custom: #dec75d;
$custom-light: #ebd78e;
$custom-dark: #000000;
JSON
{
  "hex": "#dec75d",
  "rgb": {
    "r": 222,
    "g": 199,
    "b": 93
  },
  "hsl": {
    "h": 49.302,
    "s": 66.154,
    "l": 61.765
  },
  "oklch": {
    "l": 0.82839,
    "c": 0.12849,
    "h": 97.2
  },
  "luminance": 0.57167
}

Semantic roles & 50–950 ramp

primary
#DEC75D
secondary
#3C4EA3
accent
#38CE17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DEC75D

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

Preview Lab → · Contrast checker → · Palette generator →

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