#DEC662#DEC662

#DEC662 is a very light, vivid yellow. Relative luminance 0.568; OKLCH L 82.7% C 0.123 H 96.0°. Best body text is #000000 at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#DEC662
RGBrgb(222, 198, 98)
HSLhsl(48, 65%, 63%)
HSVhsv(48, 56%, 87%)
CMYKcmyk(0%, 10.8%, 55.9%, 12.9%)
CIE-LABlab(80.07, -3.78, 52.42)
CIE-LCHlch(80.07, 52.56, 94.12°)
OKLaboklab(82.69% -0.013 0.1225)
OKLCHoklch(82.69% 0.123 96)
XYZxyz(52.5249, 56.8019, 19.7501)
Luminance0.5680 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC662 #627ADE
analogous
#DE8862 #DEC662 #B8DE62
triadic
#DEC662 #62DEC6 #C662DE
tetradic
#DEC662 #62DE88 #627ADE #DE62B8
square
#DEC662 #62DE88 #627ADE #DE62B8
split-complementary
#DEC662 #62B8DE #8862DE
monochromatic
#A38A22 #D3B42F #DEC662 #E9D895 #F3EBC7

Accessibility & contrast

On white

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

On black

12.36
#DEC662 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC662
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC662#FFFFFF#000000##000000
##DEC6621.001.7012.3612.36
#FFFFFF1.701.0021.0021.00
#00000012.3621.001.001.00
##00000012.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C258
Deuteranopia (green-blind)
#DDCA66
Tritanopia (blue-blind)
#EEB9AF
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dec662;
/* rgb */ color: rgb(222, 198, 98);
/* oklch */ color: oklch(82.7% 0.123 96.0);
Tailwind
colors: {
  custom: {
    50: '#ebd791',
    500: '#dec662',
    950: '#000000',
  },
}
SCSS
$custom: #dec662;
$custom-light: #ebd791;
$custom-dark: #000000;
JSON
{
  "hex": "#dec662",
  "rgb": {
    "r": 222,
    "g": 198,
    "b": 98
  },
  "hsl": {
    "h": 48.387,
    "s": 65.263,
    "l": 62.745
  },
  "oklch": {
    "l": 0.82692,
    "c": 0.12322,
    "h": 96
  },
  "luminance": 0.568
}

Semantic roles & 50–950 ramp

primary
#DEC662
secondary
#3E52A6
accent
#3BCD18
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DEC662

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

Preview Lab → · Contrast checker → · Palette generator →

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