#DEC766#DEC766

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

Color values

HEX#DEC766
RGBrgb(222, 199, 102)
HSLhsl(49, 65%, 64%)
HSVhsv(49, 54%, 87%)
CMYKcmyk(0%, 10.4%, 54.1%, 12.9%)
CIE-LABlab(80.37, -3.98, 50.88)
CIE-LCHlch(80.37, 51.04, 94.47°)
OKLaboklab(82.94% -0.0131 0.1196)
OKLCHoklch(82.94% 0.12 96.3)
XYZxyz(52.9478, 57.3380, 20.8461)
Luminance0.5734 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC766 #667DDE
analogous
#DE8B66 #DEC766 #B9DE66
triadic
#DEC766 #66DEC7 #C766DE
tetradic
#DEC766 #66DE8B #667DDE #DE66B9
square
#DEC766 #66DE8B #667DDE #DE66B9
split-complementary
#DEC766 #66B9DE #8B66DE
monochromatic
#A68D24 #D3B534 #DEC766 #E9D998 #F4ECCB

Accessibility & contrast

On white

1.68
#DEC766 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.47
#DEC766 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC766
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC766#FFFFFF#000000##000000
##DEC7661.001.6812.4712.47
#FFFFFF1.681.0021.0021.00
#00000012.4721.001.001.00
##00000012.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C35D
Deuteranopia (green-blind)
#DECB6A
Tritanopia (blue-blind)
#EDBAB1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dec766;
/* rgb */ color: rgb(222, 199, 102);
/* oklch */ color: oklch(82.9% 0.120 96.3);
Tailwind
colors: {
  custom: {
    50: '#ebd794',
    500: '#dec766',
    950: '#000000',
  },
}
SCSS
$custom: #dec766;
$custom-light: #ebd794;
$custom-dark: #000000;
JSON
{
  "hex": "#dec766",
  "rgb": {
    "r": 222,
    "g": 199,
    "b": 102
  },
  "hsl": {
    "h": 48.5,
    "s": 64.516,
    "l": 63.529
  },
  "oklch": {
    "l": 0.82944,
    "c": 0.12033,
    "h": 96.3
  },
  "luminance": 0.57336
}

Semantic roles & 50–950 ramp

primary
#DEC766
secondary
#4054A9
accent
#3CCC19
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #DEC766

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

Preview Lab → · Contrast checker → · Palette generator →

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