#DEB947#DEB947

#DEB947 is a light, vivid yellow. Relative luminance 0.507; OKLCH L 79.8% C 0.136 H 90.8°. Best body text is #000000 at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#DEB947
RGBrgb(222, 185, 71)
HSLhsl(45, 70%, 57%)
HSVhsv(45, 68%, 87%)
CMYKcmyk(0%, 16.7%, 68%, 12.9%)
CIE-LABlab(76.49, 1.21, 60.52)
CIE-LCHlch(76.49, 60.53, 88.86°)
OKLaboklab(79.78% -0.0018 0.1361)
OKLCHoklch(79.78% 0.136 90.8)
XYZxyz(48.6131, 50.6853, 13.1827)
Luminance0.5068 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEB947 #476CDE
analogous
#DE6E47 #DEB947 #B7DE47
triadic
#DEB947 #47DEB9 #B947DE
tetradic
#DEB947 #47DE6E #476CDE #DE47B7
square
#DEB947 #47DE6E #476CDE #DE47B7
split-complementary
#DEB947 #47B7DE #6E47DE
monochromatic
#91741A #C59D23 #DEB947 #E7CD7B #F1E0AF

Accessibility & contrast

On white

1.89
#DEB947 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.14
#DEB947 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEB947
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEB947#FFFFFF#000000##000000
##DEB9471.001.8911.1411.14
#FFFFFF1.891.0021.0021.00
#00000011.1421.001.001.00
##00000011.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB738
Deuteranopia (green-blind)
#D6C14D
Tritanopia (blue-blind)
#F0AAA1
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #deb947;
/* rgb */ color: rgb(222, 185, 71);
/* oklch */ color: oklch(79.8% 0.136 90.8);
Tailwind
colors: {
  custom: {
    50: '#eccd80',
    500: '#deb947',
    950: '#000000',
  },
}
SCSS
$custom: #deb947;
$custom-light: #eccd80;
$custom-dark: #000000;
JSON
{
  "hex": "#deb947",
  "rgb": {
    "r": 222,
    "g": 185,
    "b": 71
  },
  "hsl": {
    "h": 45.298,
    "s": 69.585,
    "l": 57.451
  },
  "oklch": {
    "l": 0.79783,
    "c": 0.13613,
    "h": 90.8
  },
  "luminance": 0.50682
}

Semantic roles & 50–950 ramp

primary
#DEB947
secondary
#344C96
accent
#67EC3B
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130B
muted
#85837E

Preview Lab

Preview with #DEB947

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

Preview Lab → · Contrast checker → · Palette generator →

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