#DEC741#DEC741

#DEC741 is a very light, vivid yellow. Relative luminance 0.568; OKLCH L 82.6% C 0.150 H 99.3°. Best body text is #000000 at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#DEC741
RGBrgb(222, 199, 65)
HSLhsl(51, 70%, 56%)
HSVhsv(51, 71%, 87%)
CMYKcmyk(0%, 10.4%, 70.7%, 12.9%)
CIE-LABlab(80.04, -6.35, 66.50)
CIE-LCHlch(80.04, 66.81, 95.46°)
OKLaboklab(82.58% -0.0241 0.1477)
OKLCHoklch(82.58% 0.15 99.3)
XYZxyz(51.5042, 56.7606, 13.2430)
Luminance0.5676 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC741 #4158DE
analogous
#DE7941 #DEC741 #A7DE41
triadic
#DEC741 #41DEC7 #C741DE
tetradic
#DEC741 #41DE79 #4158DE #DE41A7
square
#DEC741 #41DE79 #4158DE #DE41A7
split-complementary
#DEC741 #41A7DE #7941DE
monochromatic
#8C7B18 #C0A921 #DEC741 #E7D675 #F0E6A9

Accessibility & contrast

On white

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

On black

12.35
#DEC741 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC741
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC741#FFFFFF#000000##000000
##DEC7411.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC22C
Deuteranopia (green-blind)
#E0CA49
Tritanopia (blue-blind)
#EFB8AC
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #dec741;
/* rgb */ color: rgb(222, 199, 65);
/* oklch */ color: oklch(82.6% 0.150 99.3);
Tailwind
colors: {
  custom: {
    50: '#ecd77e',
    500: '#dec741',
    950: '#000000',
  },
}
SCSS
$custom: #dec741;
$custom-light: #ecd77e;
$custom-dark: #000000;
JSON
{
  "hex": "#dec741",
  "rgb": {
    "r": 222,
    "g": 199,
    "b": 65
  },
  "hsl": {
    "h": 51.21,
    "s": 70.404,
    "l": 56.275
  },
  "oklch": {
    "l": 0.82583,
    "c": 0.14969,
    "h": 99.3
  },
  "luminance": 0.56758
}

Semantic roles & 50–950 ramp

primary
#DEC741
secondary
#324092
accent
#55ED3B
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #DEC741

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

Preview Lab → · Contrast checker → · Palette generator →

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