#DEC266#DEC266

#DEC266 is a light, moderate yellow. Relative luminance 0.551; OKLCH L 81.9% C 0.116 H 92.8°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#DEC266
RGBrgb(222, 194, 102)
HSLhsl(46, 65%, 64%)
HSVhsv(46, 54%, 87%)
CMYKcmyk(0%, 12.6%, 54.1%, 12.9%)
CIE-LABlab(79.08, -1.39, 49.37)
CIE-LCHlch(79.08, 49.39, 91.61°)
OKLaboklab(81.93% -0.0056 0.1163)
OKLCHoklch(81.93% 0.116 92.8)
XYZxyz(51.8163, 55.0749, 20.4690)
Luminance0.5507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC266 #6682DE
analogous
#DE8666 #DEC266 #BEDE66
triadic
#DEC266 #66DEC2 #C266DE
tetradic
#DEC266 #66DE86 #6682DE #DE66BE
square
#DEC266 #66DE86 #6682DE #DE66BE
split-complementary
#DEC266 #66BEDE #8666DE
monochromatic
#A68724 #D3AE34 #DEC266 #E9D698 #F4EACB

Accessibility & contrast

On white

1.75
#DEC266 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.01
#DEC266 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC266
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC266#FFFFFF#000000##000000
##DEC2661.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BF5E
Deuteranopia (green-blind)
#DAC76A
Tritanopia (blue-blind)
#EEB5AD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #dec266;
/* rgb */ color: rgb(222, 194, 102);
/* oklch */ color: oklch(81.9% 0.116 92.8);
Tailwind
colors: {
  custom: {
    50: '#ebd494',
    500: '#dec266',
    950: '#000000',
  },
}
SCSS
$custom: #dec266;
$custom-light: #ebd494;
$custom-dark: #000000;
JSON
{
  "hex": "#dec266",
  "rgb": {
    "r": 222,
    "g": 194,
    "b": 102
  },
  "hsl": {
    "h": 46,
    "s": 64.516,
    "l": 63.529
  },
  "oklch": {
    "l": 0.81929,
    "c": 0.11645,
    "h": 92.8
  },
  "luminance": 0.55072
}

Semantic roles & 50–950 ramp

primary
#DEC266
secondary
#4058A9
accent
#43CC19
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #DEC266

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

Preview Lab → · Contrast checker → · Palette generator →

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