#DEC064#DEC064

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

Color values

HEX#DEC064
RGBrgb(222, 192, 100)
HSLhsl(45, 65%, 63%)
HSVhsv(45, 55%, 87%)
CMYKcmyk(0%, 13.5%, 55%, 12.9%)
CIE-LABlab(78.55, -0.51, 49.70)
CIE-LCHlch(78.55, 49.70, 90.59°)
OKLaboklab(81.5% -0.0033 0.1168)
OKLCHoklch(81.5% 0.117 91.6)
XYZxyz(51.2762, 54.1515, 19.8055)
Luminance0.5415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC064 #6482DE
analogous
#DE8364 #DEC064 #BFDE64
triadic
#DEC064 #64DEC0 #C064DE
tetradic
#DEC064 #64DE83 #6482DE #DE64BF
square
#DEC064 #64DE83 #6482DE #DE64BF
split-complementary
#DEC064 #64BFDE #8364DE
monochromatic
#A58523 #D3AB32 #DEC064 #E9D596 #F3E9C9

Accessibility & contrast

On white

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

On black

11.83
#DEC064 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC064
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC064#FFFFFF#000000##000000
##DEC0641.001.7811.8311.83
#FFFFFF1.781.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dec064;
/* rgb */ color: rgb(222, 192, 100);
/* oklch */ color: oklch(81.5% 0.117 91.6);
Tailwind
colors: {
  custom: {
    50: '#ebd292',
    500: '#dec064',
    950: '#000000',
  },
}
SCSS
$custom: #dec064;
$custom-light: #ebd292;
$custom-dark: #000000;
JSON
{
  "hex": "#dec064",
  "rgb": {
    "r": 222,
    "g": 192,
    "b": 100
  },
  "hsl": {
    "h": 45.246,
    "s": 64.894,
    "l": 63.137
  },
  "oklch": {
    "l": 0.81499,
    "c": 0.11688,
    "h": 91.6
  },
  "luminance": 0.54149
}

Semantic roles & 50–950 ramp

primary
#DEC064
secondary
#3F59A7
accent
#45CD19
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DEC064

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

Preview Lab → · Contrast checker → · Palette generator →

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