#DEC268#DEC268

#DEC268 is a light, moderate yellow. Relative luminance 0.551; OKLCH L 82.0% C 0.115 H 92.5°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#DEC268
RGBrgb(222, 194, 104)
HSLhsl(46, 64%, 64%)
HSVhsv(46, 53%, 87%)
CMYKcmyk(0%, 12.6%, 53.2%, 12.9%)
CIE-LABlab(79.11, -1.23, 48.43)
CIE-LCHlch(79.11, 48.44, 91.45°)
OKLaboklab(81.95% -0.0049 0.1145)
OKLCHoklch(81.95% 0.115 92.5)
XYZxyz(51.9166, 55.1150, 20.9976)
Luminance0.5511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC268 #6884DE
analogous
#DE8768 #DEC268 #BFDE68
triadic
#DEC268 #68DEC2 #C268DE
tetradic
#DEC268 #68DE87 #6884DE #DE68BF
square
#DEC268 #68DE87 #6884DE #DE68BF
split-complementary
#DEC268 #68BFDE #8768DE
monochromatic
#A78825 #D3AE36 #DEC268 #E9D69A #F4EBCC

Accessibility & contrast

On white

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

On black

12.02
#DEC268 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC268
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC268#FFFFFF#000000##000000
##DEC2681.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BF60
Deuteranopia (green-blind)
#DAC76C
Tritanopia (blue-blind)
#EEB6AD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #dec268;
/* rgb */ color: rgb(222, 194, 104);
/* oklch */ color: oklch(82.0% 0.115 92.5);
Tailwind
colors: {
  custom: {
    50: '#ebd495',
    500: '#dec268',
    950: '#000000',
  },
}
SCSS
$custom: #dec268;
$custom-light: #ebd495;
$custom-dark: #000000;
JSON
{
  "hex": "#dec268",
  "rgb": {
    "r": 222,
    "g": 194,
    "b": 104
  },
  "hsl": {
    "h": 45.763,
    "s": 64.13,
    "l": 63.922
  },
  "oklch": {
    "l": 0.81954,
    "c": 0.11456,
    "h": 92.5
  },
  "luminance": 0.55113
}

Semantic roles & 50–950 ramp

primary
#DEC268
secondary
#4159AA
accent
#44CC1A
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #DEC268

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

Preview Lab → · Contrast checker → · Palette generator →

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