#DEC74E#DEC74E

#DEC74E 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.39:1 contrast (WCAG AA passes).

Color values

HEX#DEC74E
RGBrgb(222, 199, 78)
HSLhsl(50, 69%, 59%)
HSVhsv(50, 65%, 87%)
CMYKcmyk(0%, 10.4%, 64.9%, 12.9%)
CIE-LABlab(80.14, -5.65, 61.42)
CIE-LCHlch(80.14, 61.68, 95.26°)
OKLaboklab(82.69% -0.0207 0.1392)
OKLCHoklch(82.69% 0.141 98.5)
XYZxyz(51.9250, 56.9289, 15.4595)
Luminance0.5693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC74E #4E65DE
analogous
#DE7F4E #DEC74E #ADDE4E
triadic
#DEC74E #4EDEC7 #C74EDE
tetradic
#DEC74E #4EDE7F #4E65DE #DE4EAD
square
#DEC74E #4EDE7F #4E65DE #DE4EAD
split-complementary
#DEC74E #4EADDE #7F4EDE
monochromatic
#96821C #C9AF26 #DEC74E #E8D782 #F1E8B5

Accessibility & contrast

On white

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

On black

12.39
#DEC74E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC74E
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC74E#FFFFFF#000000##000000
##DEC74E1.001.7012.3912.39
#FFFFFF1.701.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dec74e;
/* rgb */ color: rgb(222, 199, 78);
/* oklch */ color: oklch(82.7% 0.141 98.5);
Tailwind
colors: {
  custom: {
    50: '#ecd785',
    500: '#dec74e',
    950: '#000000',
  },
}
SCSS
$custom: #dec74e;
$custom-light: #ecd785;
$custom-dark: #000000;
JSON
{
  "hex": "#dec74e",
  "rgb": {
    "r": 222,
    "g": 199,
    "b": 78
  },
  "hsl": {
    "h": 50.417,
    "s": 68.571,
    "l": 58.824
  },
  "oklch": {
    "l": 0.82688,
    "c": 0.14068,
    "h": 98.5
  },
  "luminance": 0.56927
}

Semantic roles & 50–950 ramp

primary
#DEC74E
secondary
#36469A
accent
#58EB3C
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DEC74E

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

Preview Lab → · Contrast checker → · Palette generator →

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