#DEC74C#DEC74C

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

Color values

HEX#DEC74C
RGBrgb(222, 199, 76)
HSLhsl(51, 69%, 58%)
HSVhsv(51, 66%, 87%)
CMYKcmyk(0%, 10.4%, 65.8%, 12.9%)
CIE-LABlab(80.12, -5.77, 62.24)
CIE-LCHlch(80.12, 62.50, 95.30°)
OKLaboklab(82.67% -0.0212 0.1406)
OKLCHoklch(82.67% 0.142 98.6)
XYZxyz(51.8544, 56.9007, 15.0876)
Luminance0.5690 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC74C #4C63DE
analogous
#DE7E4C #DEC74C #ACDE4C
triadic
#DEC74C #4CDEC7 #C74CDE
tetradic
#DEC74C #4CDE7E #4C63DE #DE4CAC
square
#DEC74C #4CDE7E #4C63DE #DE4CAC
split-complementary
#DEC74C #4CACDE #7E4CDE
monochromatic
#94811B #C8AE25 #DEC74C #E8D780 #F1E7B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEC74C#FFFFFF#000000##000000
##DEC74C1.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)
#DAC23C
Deuteranopia (green-blind)
#E0CA53
Tritanopia (blue-blind)
#EFB9AD
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dec74c;
/* rgb */ color: rgb(222, 199, 76);
/* oklch */ color: oklch(82.7% 0.142 98.6);
Tailwind
colors: {
  custom: {
    50: '#ecd784',
    500: '#dec74c',
    950: '#000000',
  },
}
SCSS
$custom: #dec74c;
$custom-light: #ecd784;
$custom-dark: #000000;
JSON
{
  "hex": "#dec74c",
  "rgb": {
    "r": 222,
    "g": 199,
    "b": 76
  },
  "hsl": {
    "h": 50.548,
    "s": 68.868,
    "l": 58.431
  },
  "oklch": {
    "l": 0.82671,
    "c": 0.14216,
    "h": 98.6
  },
  "luminance": 0.56898
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DEC74C

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

Preview Lab → · Contrast checker → · Palette generator →

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