#DEB842#DEB842

#DEB842 is a light, vivid yellow. Relative luminance 0.502; OKLCH L 79.5% C 0.139 H 90.7°. Best body text is #000000 at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#DEB842
RGBrgb(222, 184, 66)
HSLhsl(45, 70%, 56%)
HSVhsv(45, 70%, 87%)
CMYKcmyk(0%, 17.1%, 70.3%, 12.9%)
CIE-LABlab(76.20, 1.47, 62.27)
CIE-LCHlch(76.20, 62.29, 88.65°)
OKLaboklab(79.54% -0.0017 0.139)
OKLCHoklch(79.54% 0.139 90.7)
XYZxyz(48.2507, 50.2068, 12.3027)
Luminance0.5020 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEB842 #4268DE
analogous
#DE6A42 #DEB842 #B6DE42
triadic
#DEB842 #42DEB8 #B842DE
tetradic
#DEB842 #42DE6A #4268DE #DE42B6
square
#DEB842 #42DE6A #4268DE #DE42B6
split-complementary
#DEB842 #42B6DE #6A42DE
monochromatic
#8D7119 #C19A22 #DEB842 #E7CC76 #F0DFAA

Accessibility & contrast

On white

1.90
#DEB842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.04
#DEB842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEB842
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEB842#FFFFFF#000000##000000
##DEB8421.001.9011.0411.04
#FFFFFF1.901.0021.0021.00
#00000011.0421.001.001.00
##00000011.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB632
Deuteranopia (green-blind)
#D5C048
Tritanopia (blue-blind)
#F0A9A0
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #deb842;
/* rgb */ color: rgb(222, 184, 66);
/* oklch */ color: oklch(79.5% 0.139 90.7);
Tailwind
colors: {
  custom: {
    50: '#eccd7d',
    500: '#deb842',
    950: '#000000',
  },
}
SCSS
$custom: #deb842;
$custom-light: #eccd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#deb842",
  "rgb": {
    "r": 222,
    "g": 184,
    "b": 66
  },
  "hsl": {
    "h": 45.385,
    "s": 70.27,
    "l": 56.471
  },
  "oklch": {
    "l": 0.79541,
    "c": 0.13897,
    "h": 90.7
  },
  "luminance": 0.50204
}

Semantic roles & 50–950 ramp

primary
#DEB842
secondary
#324992
accent
#66ED3B
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #DEB842

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

Preview Lab → · Contrast checker → · Palette generator →

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