#DEC762#DEC762

#DEC762 is a very light, vivid yellow. Relative luminance 0.573; OKLCH L 82.9% C 0.124 H 96.7°. Best body text is #000000 at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#DEC762
RGBrgb(222, 199, 98)
HSLhsl(49, 65%, 63%)
HSVhsv(49, 56%, 87%)
CMYKcmyk(0%, 10.4%, 55.9%, 12.9%)
CIE-LABlab(80.33, -4.29, 52.72)
CIE-LCHlch(80.33, 52.89, 94.65°)
OKLaboklab(82.9% -0.0145 0.1232)
OKLCHoklch(82.9% 0.124 96.7)
XYZxyz(52.7542, 57.2606, 19.8265)
Luminance0.5726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC762 #6279DE
analogous
#DE8962 #DEC762 #B7DE62
triadic
#DEC762 #62DEC7 #C762DE
tetradic
#DEC762 #62DE89 #6279DE #DE62B7
square
#DEC762 #62DE89 #6279DE #DE62B7
split-complementary
#DEC762 #62B7DE #8962DE
monochromatic
#A38B22 #D3B52F #DEC762 #E9D995 #F3EBC7

Accessibility & contrast

On white

1.69
#DEC762 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.45
#DEC762 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC762
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC762#FFFFFF#000000##000000
##DEC7621.001.6912.4512.45
#FFFFFF1.691.0021.0021.00
#00000012.4521.001.001.00
##00000012.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C358
Deuteranopia (green-blind)
#DECB66
Tritanopia (blue-blind)
#EEBAB0
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dec762;
/* rgb */ color: rgb(222, 199, 98);
/* oklch */ color: oklch(82.9% 0.124 96.7);
Tailwind
colors: {
  custom: {
    50: '#ebd791',
    500: '#dec762',
    950: '#000000',
  },
}
SCSS
$custom: #dec762;
$custom-light: #ebd791;
$custom-dark: #000000;
JSON
{
  "hex": "#dec762",
  "rgb": {
    "r": 222,
    "g": 199,
    "b": 98
  },
  "hsl": {
    "h": 48.871,
    "s": 65.263,
    "l": 62.745
  },
  "oklch": {
    "l": 0.82896,
    "c": 0.12403,
    "h": 96.7
  },
  "luminance": 0.57258
}

Semantic roles & 50–950 ramp

primary
#DEC762
secondary
#3E51A6
accent
#3ACD18
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DEC762

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

Preview Lab → · Contrast checker → · Palette generator →

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