#DEC74D#DEC74D

#DEC74D is a very light, vivid yellow. Relative luminance 0.569; OKLCH L 82.7% C 0.141 H 98.5°. Best body text is #000000 at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#DEC74D
RGBrgb(222, 199, 77)
HSLhsl(50, 69%, 59%)
HSVhsv(50, 65%, 87%)
CMYKcmyk(0%, 10.4%, 65.3%, 12.9%)
CIE-LABlab(80.13, -5.71, 61.83)
CIE-LCHlch(80.13, 62.09, 95.28°)
OKLaboklab(82.68% -0.021 0.1399)
OKLCHoklch(82.68% 0.141 98.5)
XYZxyz(51.8895, 56.9147, 15.2722)
Luminance0.5691 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC74D #4D64DE
analogous
#DE7E4D #DEC74D #ACDE4D
triadic
#DEC74D #4DDEC7 #C74DDE
tetradic
#DEC74D #4DDE7E #4D64DE #DE4DAC
square
#DEC74D #4DDE7E #4D64DE #DE4DAC
split-complementary
#DEC74D #4DACDE #7E4DDE
monochromatic
#95821C #C9AF25 #DEC74D #E8D781 #F1E7B4

Accessibility & contrast

On white

1.70
#DEC74D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.38
#DEC74D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC74D
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC74D#FFFFFF#000000##000000
##DEC74D1.001.7012.3812.38
#FFFFFF1.701.0021.0021.00
#00000012.3821.001.001.00
##00000012.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C23E
Deuteranopia (green-blind)
#E0CA54
Tritanopia (blue-blind)
#EFB9AE
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dec74d;
/* rgb */ color: rgb(222, 199, 77);
/* oklch */ color: oklch(82.7% 0.141 98.5);
Tailwind
colors: {
  custom: {
    50: '#ecd784',
    500: '#dec74d',
    950: '#000000',
  },
}
SCSS
$custom: #dec74d;
$custom-light: #ecd784;
$custom-dark: #000000;
JSON
{
  "hex": "#dec74d",
  "rgb": {
    "r": 222,
    "g": 199,
    "b": 77
  },
  "hsl": {
    "h": 50.483,
    "s": 68.72,
    "l": 58.627
  },
  "oklch": {
    "l": 0.82679,
    "c": 0.14142,
    "h": 98.5
  },
  "luminance": 0.56912
}

Semantic roles & 50–950 ramp

primary
#DEC74D
secondary
#364699
accent
#58EC3C
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DEC74D

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

Preview Lab → · Contrast checker → · Palette generator →

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