#DEB948#DEB948

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

Color values

HEX#DEB948
RGBrgb(222, 185, 72)
HSLhsl(45, 69%, 58%)
HSVhsv(45, 68%, 87%)
CMYKcmyk(0%, 16.7%, 67.6%, 12.9%)
CIE-LABlab(76.50, 1.26, 60.11)
CIE-LCHlch(76.50, 60.12, 88.80°)
OKLaboklab(79.79% -0.0015 0.1354)
OKLCHoklch(79.79% 0.135 90.7)
XYZxyz(48.6454, 50.6982, 13.3531)
Luminance0.5070 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEB948 #486DDE
analogous
#DE6E48 #DEB948 #B8DE48
triadic
#DEB948 #48DEB9 #B948DE
tetradic
#DEB948 #48DE6E #486DDE #DE48B8
square
#DEB948 #48DE6E #486DDE #DE48B8
split-complementary
#DEB948 #48B8DE #6E48DE
monochromatic
#91741A #C59D24 #DEB948 #E7CD7C #F1E1B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEB948#FFFFFF#000000##000000
##DEB9481.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)
#CDB73A
Deuteranopia (green-blind)
#D6C14D
Tritanopia (blue-blind)
#F0AAA1
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #deb948;
/* rgb */ color: rgb(222, 185, 72);
/* oklch */ color: oklch(79.8% 0.135 90.7);
Tailwind
colors: {
  custom: {
    50: '#eccd80',
    500: '#deb948',
    950: '#000000',
  },
}
SCSS
$custom: #deb948;
$custom-light: #eccd80;
$custom-dark: #000000;
JSON
{
  "hex": "#deb948",
  "rgb": {
    "r": 222,
    "g": 185,
    "b": 72
  },
  "hsl": {
    "h": 45.2,
    "s": 69.444,
    "l": 57.647
  },
  "oklch": {
    "l": 0.79792,
    "c": 0.13543,
    "h": 90.7
  },
  "luminance": 0.50695
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DEB948

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

Preview Lab → · Contrast checker → · Palette generator →

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