#DECB62#DECB62

#DECB62 is a very light, vivid yellow. Relative luminance 0.591; OKLCH L 83.7% C 0.127 H 99.2°. Best body text is #000000 at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#DECB62
RGBrgb(222, 203, 98)
HSLhsl(51, 65%, 63%)
HSVhsv(51, 56%, 87%)
CMYKcmyk(0%, 8.6%, 55.9%, 12.9%)
CIE-LABlab(81.36, -6.34, 53.91)
CIE-LCHlch(81.36, 54.29, 96.71°)
OKLaboklab(83.71% -0.0204 0.1258)
OKLCHoklch(83.71% 0.127 99.2)
XYZxyz(53.6867, 59.1255, 20.1373)
Luminance0.5912 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECB62 #6275DE
analogous
#DE8D62 #DECB62 #B3DE62
triadic
#DECB62 #62DECB #CB62DE
tetradic
#DECB62 #62DE8D #6275DE #DE62B3
square
#DECB62 #62DE8D #6275DE #DE62B3
split-complementary
#DECB62 #62B3DE #8D62DE
monochromatic
#A39022 #D3BA2F #DECB62 #E9DC95 #F3ECC7

Accessibility & contrast

On white

1.64
#DECB62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.82
#DECB62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DECB62
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DECB62#FFFFFF#000000##000000
##DECB621.001.6412.8212.82
#FFFFFF1.641.0021.0021.00
#00000012.8221.001.001.00
##00000012.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC658
Deuteranopia (green-blind)
#E1CD67
Tritanopia (blue-blind)
#EDBEB3
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #decb62;
/* rgb */ color: rgb(222, 203, 98);
/* oklch */ color: oklch(83.7% 0.127 99.2);
Tailwind
colors: {
  custom: {
    50: '#ebda92',
    500: '#decb62',
    950: '#000000',
  },
}
SCSS
$custom: #decb62;
$custom-light: #ebda92;
$custom-dark: #000000;
JSON
{
  "hex": "#decb62",
  "rgb": {
    "r": 222,
    "g": 203,
    "b": 98
  },
  "hsl": {
    "h": 50.806,
    "s": 65.263,
    "l": 62.745
  },
  "oklch": {
    "l": 0.83715,
    "c": 0.12739,
    "h": 99.2
  },
  "luminance": 0.59123
}

Semantic roles & 50–950 ramp

primary
#DECB62
secondary
#3E4EA6
accent
#34CD18
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DECB62

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

Preview Lab → · Contrast checker → · Palette generator →

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