#DBC152#DBC152

#DBC152 is a light, vivid yellow. Relative luminance 0.538; OKLCH L 81.2% C 0.133 H 96.1°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#DBC152
RGBrgb(219, 193, 82)
HSLhsl(49, 66%, 59%)
HSVhsv(49, 63%, 86%)
CMYKcmyk(0%, 11.9%, 62.6%, 14.1%)
CIE-LABlab(78.35, -3.58, 57.70)
CIE-LCHlch(78.35, 57.81, 93.55°)
OKLaboklab(81.22% -0.0141 0.1319)
OKLCHoklch(81.22% 0.133 96.1)
XYZxyz(49.8086, 53.8116, 15.7441)
Luminance0.5381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBC152 #526CDB
analogous
#DB7D52 #DBC152 #B1DB52
triadic
#DBC152 #52DBC1 #C152DB
tetradic
#DBC152 #52DB7D #526CDB #DB52B1
square
#DBC152 #52DB7D #526CDB #DB52B1
split-complementary
#DBC152 #52B1DB #7D52DB
monochromatic
#947E1F #C6A929 #DBC152 #E6D385 #F0E5B7

Accessibility & contrast

On white

1.79
#DBC152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.76
#DBC152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBC152
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBC152#FFFFFF#000000##000000
##DBC1521.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD45
Deuteranopia (green-blind)
#DAC557
Tritanopia (blue-blind)
#EBB3A9
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dbc152;
/* rgb */ color: rgb(219, 193, 82);
/* oklch */ color: oklch(81.2% 0.133 96.1);
Tailwind
colors: {
  custom: {
    50: '#e9d387',
    500: '#dbc152',
    950: '#000000',
  },
}
SCSS
$custom: #dbc152;
$custom-light: #e9d387;
$custom-dark: #000000;
JSON
{
  "hex": "#dbc152",
  "rgb": {
    "r": 219,
    "g": 193,
    "b": 82
  },
  "hsl": {
    "h": 48.613,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.8122,
    "c": 0.13268,
    "h": 96.1
  },
  "luminance": 0.53809
}

Semantic roles & 50–950 ramp

primary
#DBC152
secondary
#394B99
accent
#5FE93F
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #DBC152

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

Preview Lab → · Contrast checker → · Palette generator →

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