#DEC062#DEC062

#DEC062 is a light, moderate yellow. Relative luminance 0.541; OKLCH L 81.5% C 0.119 H 91.9°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#DEC062
RGBrgb(222, 192, 98)
HSLhsl(45, 65%, 63%)
HSVhsv(45, 56%, 87%)
CMYKcmyk(0%, 13.5%, 55.9%, 12.9%)
CIE-LABlab(78.53, -0.67, 50.63)
CIE-LCHlch(78.53, 50.63, 90.76°)
OKLaboklab(81.47% -0.004 0.1187)
OKLCHoklch(81.47% 0.119 91.9)
XYZxyz(51.1805, 54.1132, 19.3020)
Luminance0.5411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC062 #6280DE
analogous
#DE8262 #DEC062 #BEDE62
triadic
#DEC062 #62DEC0 #C062DE
tetradic
#DEC062 #62DE82 #6280DE #DE62BE
square
#DEC062 #62DE82 #6280DE #DE62BE
split-complementary
#DEC062 #62BEDE #8262DE
monochromatic
#A38422 #D3AC2F #DEC062 #E9D495 #F3E9C7

Accessibility & contrast

On white

1.78
#DEC062 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.82
#DEC062 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC062
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC062#FFFFFF#000000##000000
##DEC0621.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BD59
Deuteranopia (green-blind)
#D9C666
Tritanopia (blue-blind)
#EEB3AB
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dec062;
/* rgb */ color: rgb(222, 192, 98);
/* oklch */ color: oklch(81.5% 0.119 91.9);
Tailwind
colors: {
  custom: {
    50: '#ebd291',
    500: '#dec062',
    950: '#000000',
  },
}
SCSS
$custom: #dec062;
$custom-light: #ebd291;
$custom-dark: #000000;
JSON
{
  "hex": "#dec062",
  "rgb": {
    "r": 222,
    "g": 192,
    "b": 98
  },
  "hsl": {
    "h": 45.484,
    "s": 65.263,
    "l": 62.745
  },
  "oklch": {
    "l": 0.81475,
    "c": 0.11872,
    "h": 91.9
  },
  "luminance": 0.54111
}

Semantic roles & 50–950 ramp

primary
#DEC062
secondary
#3E57A6
accent
#44CD18
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DEC062

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

Preview Lab → · Contrast checker → · Palette generator →

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