#DEC74F#DEC74F

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

Color values

HEX#DEC74F
RGBrgb(222, 199, 79)
HSLhsl(50, 68%, 59%)
HSVhsv(50, 64%, 87%)
CMYKcmyk(0%, 10.4%, 64.4%, 12.9%)
CIE-LABlab(80.15, -5.59, 61.01)
CIE-LCHlch(80.15, 61.26, 95.24°)
OKLaboklab(82.7% -0.0204 0.1384)
OKLCHoklch(82.7% 0.14 98.4)
XYZxyz(51.9612, 56.9434, 15.6498)
Luminance0.5694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC74F #4F66DE
analogous
#DE804F #DEC74F #ADDE4F
triadic
#DEC74F #4FDEC7 #C74FDE
tetradic
#DEC74F #4FDE80 #4F66DE #DE4FAD
square
#DEC74F #4FDE80 #4F66DE #DE4FAD
split-complementary
#DEC74F #4FADDE #804FDE
monochromatic
#96831C #CAB026 #DEC74F #E8D783 #F1E8B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEC74F#FFFFFF#000000##000000
##DEC74F1.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)
#D9C240
Deuteranopia (green-blind)
#E0CA55
Tritanopia (blue-blind)
#EFB9AE
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dec74f;
/* rgb */ color: rgb(222, 199, 79);
/* oklch */ color: oklch(82.7% 0.140 98.4);
Tailwind
colors: {
  custom: {
    50: '#ecd786',
    500: '#dec74f',
    950: '#000000',
  },
}
SCSS
$custom: #dec74f;
$custom-light: #ecd786;
$custom-dark: #000000;
JSON
{
  "hex": "#dec74f",
  "rgb": {
    "r": 222,
    "g": 199,
    "b": 79
  },
  "hsl": {
    "h": 50.35,
    "s": 68.421,
    "l": 59.02
  },
  "oklch": {
    "l": 0.82697,
    "c": 0.13993,
    "h": 98.4
  },
  "luminance": 0.56941
}

Semantic roles & 50–950 ramp

primary
#DEC74F
secondary
#37479B
accent
#59EB3D
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DEC74F

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

Preview Lab → · Contrast checker → · Palette generator →

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