#DEB742#DEB742

#DEB742 is a light, vivid yellow. Relative luminance 0.498; OKLCH L 79.3% C 0.138 H 90.1°. Best body text is #000000 at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#DEB742
RGBrgb(222, 183, 66)
HSLhsl(45, 70%, 56%)
HSVhsv(45, 70%, 87%)
CMYKcmyk(0%, 17.6%, 70.3%, 12.9%)
CIE-LABlab(75.94, 1.99, 62.01)
CIE-LCHlch(75.94, 62.04, 88.16°)
OKLaboklab(79.34% -0.0001 0.1384)
OKLCHoklch(79.34% 0.138 90.1)
XYZxyz(48.0437, 49.7928, 12.2337)
Luminance0.4979 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEB742 #4269DE
analogous
#DE6942 #DEB742 #B7DE42
triadic
#DEB742 #42DEB7 #B742DE
tetradic
#DEB742 #42DE69 #4269DE #DE42B7
square
#DEB742 #42DE69 #4269DE #DE42B7
split-complementary
#DEB742 #42B7DE #6942DE
monochromatic
#8D7019 #C19922 #DEB742 #E7CB76 #F0DFAA

Accessibility & contrast

On white

1.92
#DEB742 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.96
#DEB742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEB742
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEB742#FFFFFF#000000##000000
##DEB7421.001.9210.9610.96
#FFFFFF1.921.0021.0021.00
#00000010.9621.001.001.00
##00000010.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB532
Deuteranopia (green-blind)
#D5C048
Tritanopia (blue-blind)
#F0A89F
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #deb742;
/* rgb */ color: rgb(222, 183, 66);
/* oklch */ color: oklch(79.3% 0.138 90.1);
Tailwind
colors: {
  custom: {
    50: '#eccc7d',
    500: '#deb742',
    950: '#000000',
  },
}
SCSS
$custom: #deb742;
$custom-light: #eccc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#deb742",
  "rgb": {
    "r": 222,
    "g": 183,
    "b": 66
  },
  "hsl": {
    "h": 45,
    "s": 70.27,
    "l": 56.471
  },
  "oklch": {
    "l": 0.79341,
    "c": 0.13841,
    "h": 90.1
  },
  "luminance": 0.4979
}

Semantic roles & 50–950 ramp

primary
#DEB742
secondary
#9EAEDE
accent
#67ED3B
background
#FFFCF7
surface
#FEF8EE
border
#D6D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #DEB742

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

Preview Lab → · Contrast checker → · Palette generator →

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