#DEC46B#DEC46B

#DEC46B is a very light, moderate yellow. Relative luminance 0.561; OKLCH L 82.4% C 0.113 H 93.5°. Best body text is #000000 at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#DEC46B
RGBrgb(222, 196, 107)
HSLhsl(46, 64%, 65%)
HSVhsv(46, 52%, 87%)
CMYKcmyk(0%, 11.7%, 51.8%, 12.9%)
CIE-LABlab(79.66, -2.01, 47.63)
CIE-LCHlch(79.66, 47.67, 92.42°)
OKLaboklab(82.4% -0.0069 0.113)
OKLCHoklch(82.4% 0.113 93.5)
XYZxyz(52.5199, 56.0733, 21.9639)
Luminance0.5607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC46B #6B85DE
analogous
#DE8B6B #DEC46B #BEDE6B
triadic
#DEC46B #6BDEC4 #C46BDE
tetradic
#DEC46B #6BDE8B #6B85DE #DE6BBE
square
#DEC46B #6BDE8B #6B85DE #DE6BBE
split-complementary
#DEC46B #6BBEDE #8B6BDE
monochromatic
#A98B26 #D3B039 #DEC46B #E9D89D #F4ECCF

Accessibility & contrast

On white

1.72
#DEC46B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.21
#DEC46B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC46B
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC46B#FFFFFF#000000##000000
##DEC46B1.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C163
Deuteranopia (green-blind)
#DBC96F
Tritanopia (blue-blind)
#EDB8AF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #dec46b;
/* rgb */ color: rgb(222, 196, 107);
/* oklch */ color: oklch(82.4% 0.113 93.5);
Tailwind
colors: {
  custom: {
    50: '#ebd597',
    500: '#dec46b',
    950: '#000000',
  },
}
SCSS
$custom: #dec46b;
$custom-light: #ebd597;
$custom-dark: #000000;
JSON
{
  "hex": "#dec46b",
  "rgb": {
    "r": 222,
    "g": 196,
    "b": 107
  },
  "hsl": {
    "h": 46.435,
    "s": 63.536,
    "l": 64.51
  },
  "oklch": {
    "l": 0.82399,
    "c": 0.11318,
    "h": 93.5
  },
  "luminance": 0.56071
}

Semantic roles & 50–950 ramp

primary
#DEC46B
secondary
#425AAB
accent
#42CB1A
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DEC46B

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

Preview Lab → · Contrast checker → · Palette generator →

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