#DEC968#DEC968

#DEC968 is a very light, vivid yellow. Relative luminance 0.583; OKLCH L 83.4% C 0.120 H 97.4°. Best body text is #000000 at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#DEC968
RGBrgb(222, 201, 104)
HSLhsl(49, 64%, 64%)
HSVhsv(49, 53%, 87%)
CMYKcmyk(0%, 9.5%, 53.2%, 12.9%)
CIE-LABlab(80.91, -4.84, 50.57)
CIE-LCHlch(80.91, 50.80, 95.47°)
OKLaboklab(83.38% -0.0154 0.1191)
OKLCHoklch(83.38% 0.12 97.4)
XYZxyz(53.5114, 58.3045, 21.5292)
Luminance0.5830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC968 #687DDE
analogous
#DE8E68 #DEC968 #B8DE68
triadic
#DEC968 #68DEC9 #C968DE
tetradic
#DEC968 #68DE8E #687DDE #DE68B8
square
#DEC968 #68DE8E #687DDE #DE68B8
split-complementary
#DEC968 #68B8DE #8E68DE
monochromatic
#A79025 #D3B736 #DEC968 #E9DB9A #F4EDCC

Accessibility & contrast

On white

1.66
#DEC968 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.66
#DEC968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC968
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC968#FFFFFF#000000##000000
##DEC9681.001.6612.6612.66
#FFFFFF1.661.0021.0021.00
#00000012.6621.001.001.00
##00000012.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC55F
Deuteranopia (green-blind)
#DFCC6C
Tritanopia (blue-blind)
#EDBDB3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dec968;
/* rgb */ color: rgb(222, 201, 104);
/* oklch */ color: oklch(83.4% 0.120 97.4);
Tailwind
colors: {
  custom: {
    50: '#ebd995',
    500: '#dec968',
    950: '#000000',
  },
}
SCSS
$custom: #dec968;
$custom-light: #ebd995;
$custom-dark: #000000;
JSON
{
  "hex": "#dec968",
  "rgb": {
    "r": 222,
    "g": 201,
    "b": 104
  },
  "hsl": {
    "h": 49.322,
    "s": 64.13,
    "l": 63.922
  },
  "oklch": {
    "l": 0.83377,
    "c": 0.12011,
    "h": 97.4
  },
  "luminance": 0.58302
}

Semantic roles & 50–950 ramp

primary
#DEC968
secondary
#4153AA
accent
#39CC1A
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140D
muted
#85837F

Preview Lab

Preview with #DEC968

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

Preview Lab → · Contrast checker → · Palette generator →

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