#DEB945#DEB945

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

Color values

HEX#DEB945
RGBrgb(222, 185, 69)
HSLhsl(45, 70%, 57%)
HSVhsv(45, 69%, 87%)
CMYKcmyk(0%, 16.7%, 68.9%, 12.9%)
CIE-LABlab(76.47, 1.10, 61.33)
CIE-LCHlch(76.47, 61.34, 88.97°)
OKLaboklab(79.77% -0.0024 0.1375)
OKLCHoklch(79.77% 0.138 91)
XYZxyz(48.5499, 50.6600, 12.8502)
Luminance0.5066 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEB945 #456ADE
analogous
#DE6D45 #DEB945 #B7DE45
triadic
#DEB945 #45DEB9 #B945DE
tetradic
#DEB945 #45DE6D #456ADE #DE45B7
square
#DEB945 #45DE6D #456ADE #DE45B7
split-complementary
#DEB945 #45B7DE #6D45DE
monochromatic
#8F7319 #C39C23 #DEB945 #E7CD79 #F0E0AD

Accessibility & contrast

On white

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

On black

11.13
#DEB945 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEB945
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEB945#FFFFFF#000000##000000
##DEB9451.001.8911.1311.13
#FFFFFF1.891.0021.0021.00
#00000011.1321.001.001.00
##00000011.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #deb945;
/* rgb */ color: rgb(222, 185, 69);
/* oklch */ color: oklch(79.8% 0.138 91.0);
Tailwind
colors: {
  custom: {
    50: '#eccd7f',
    500: '#deb945',
    950: '#000000',
  },
}
SCSS
$custom: #deb945;
$custom-light: #eccd7f;
$custom-dark: #000000;
JSON
{
  "hex": "#deb945",
  "rgb": {
    "r": 222,
    "g": 185,
    "b": 69
  },
  "hsl": {
    "h": 45.49,
    "s": 69.863,
    "l": 57.059
  },
  "oklch": {
    "l": 0.79766,
    "c": 0.13752,
    "h": 91
  },
  "luminance": 0.50657
}

Semantic roles & 50–950 ramp

primary
#DEB945
secondary
#334A94
accent
#66ED3B
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #DEB945

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

Preview Lab → · Contrast checker → · Palette generator →

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