#DECC62#DECC62

#DECC62 is a very light, vivid yellow. Relative luminance 0.596; OKLCH L 83.9% C 0.128 H 99.8°. Best body text is #000000 at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#DECC62
RGBrgb(222, 204, 98)
HSLhsl(51, 65%, 63%)
HSVhsv(51, 56%, 87%)
CMYKcmyk(0%, 8.1%, 55.9%, 12.9%)
CIE-LABlab(81.62, -6.86, 54.21)
CIE-LCHlch(81.62, 54.64, 97.21°)
OKLaboklab(83.92% -0.0218 0.1264)
OKLCHoklch(83.92% 0.128 99.8)
XYZxyz(53.9236, 59.5993, 20.2163)
Luminance0.5960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECC62 #6274DE
analogous
#DE8E62 #DECC62 #B2DE62
triadic
#DECC62 #62DECC #CC62DE
tetradic
#DECC62 #62DE8E #6274DE #DE62B2
square
#DECC62 #62DE8E #6274DE #DE62B2
split-complementary
#DECC62 #62B2DE #8E62DE
monochromatic
#A39122 #D3BC2F #DECC62 #E9DC95 #F3EDC7

Accessibility & contrast

On white

1.63
#DECC62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.92
#DECC62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DECC62
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DECC62#FFFFFF#000000##000000
##DECC621.001.6312.9212.92
#FFFFFF1.631.0021.0021.00
#00000012.9221.001.001.00
##00000012.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC758
Deuteranopia (green-blind)
#E2CE67
Tritanopia (blue-blind)
#EDBFB4
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #decc62;
/* rgb */ color: rgb(222, 204, 98);
/* oklch */ color: oklch(83.9% 0.128 99.8);
Tailwind
colors: {
  custom: {
    50: '#ebdb92',
    500: '#decc62',
    950: '#000000',
  },
}
SCSS
$custom: #decc62;
$custom-light: #ebdb92;
$custom-dark: #000000;
JSON
{
  "hex": "#decc62",
  "rgb": {
    "r": 222,
    "g": 204,
    "b": 98
  },
  "hsl": {
    "h": 51.29,
    "s": 65.263,
    "l": 62.745
  },
  "oklch": {
    "l": 0.83921,
    "c": 0.12827,
    "h": 99.8
  },
  "luminance": 0.59597
}

Semantic roles & 50–950 ramp

primary
#DECC62
secondary
#3E4DA6
accent
#33CD18
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DECC62

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

Preview Lab → · Contrast checker → · Palette generator →

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