#DBC452#DBC452

#DBC452 is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.8% C 0.135 H 97.9°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#DBC452
RGBrgb(219, 196, 82)
HSLhsl(50, 66%, 59%)
HSVhsv(50, 63%, 86%)
CMYKcmyk(0%, 10.5%, 62.6%, 14.1%)
CIE-LABlab(79.13, -5.13, 58.55)
CIE-LCHlch(79.13, 58.77, 95.00°)
OKLaboklab(81.84% -0.0185 0.1337)
OKLCHoklch(81.84% 0.135 97.9)
XYZxyz(50.4785, 55.1514, 15.9674)
Luminance0.5515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBC452 #5269DB
analogous
#DB8052 #DBC452 #AEDB52
triadic
#DBC452 #52DBC4 #C452DB
tetradic
#DBC452 #52DB80 #5269DB #DB52AE
square
#DBC452 #52DB80 #5269DB #DB52AE
split-complementary
#DBC452 #52AEDB #8052DB
monochromatic
#94801F #C6AC29 #DBC452 #E6D585 #F0E7B7

Accessibility & contrast

On white

1.75
#DBC452 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.03
#DBC452 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBC452
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBC452#FFFFFF#000000##000000
##DBC4521.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF45
Deuteranopia (green-blind)
#DCC758
Tritanopia (blue-blind)
#EBB7AC
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #dbc452;
/* rgb */ color: rgb(219, 196, 82);
/* oklch */ color: oklch(81.8% 0.135 97.9);
Tailwind
colors: {
  custom: {
    50: '#e9d587',
    500: '#dbc452',
    950: '#000000',
  },
}
SCSS
$custom: #dbc452;
$custom-light: #e9d587;
$custom-dark: #000000;
JSON
{
  "hex": "#dbc452",
  "rgb": {
    "r": 219,
    "g": 196,
    "b": 82
  },
  "hsl": {
    "h": 49.927,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.81835,
    "c": 0.13501,
    "h": 97.9
  },
  "luminance": 0.55149
}

Semantic roles & 50–950 ramp

primary
#DBC452
secondary
#394999
accent
#5CE93F
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #DBC452

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

Preview Lab → · Contrast checker → · Palette generator →

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