#DBC252#DBC252

#DBC252 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.4% C 0.133 H 96.7°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#DBC252
RGBrgb(219, 194, 82)
HSLhsl(49, 66%, 59%)
HSVhsv(49, 63%, 86%)
CMYKcmyk(0%, 11.4%, 62.6%, 14.1%)
CIE-LABlab(78.61, -4.09, 57.98)
CIE-LCHlch(78.61, 58.13, 94.04°)
OKLaboklab(81.43% -0.0156 0.1325)
OKLCHoklch(81.43% 0.133 96.7)
XYZxyz(50.0304, 54.2552, 15.8180)
Luminance0.5425 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBC252 #526BDB
analogous
#DB7E52 #DBC252 #B0DB52
triadic
#DBC252 #52DBC2 #C252DB
tetradic
#DBC252 #52DB7E #526BDB #DB52B0
square
#DBC252 #52DB7E #526BDB #DB52B0
split-complementary
#DBC252 #52B0DB #7E52DB
monochromatic
#947E1F #C6AA29 #DBC252 #E6D485 #F0E6B7

Accessibility & contrast

On white

1.77
#DBC252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.85
#DBC252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBC252
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBC252#FFFFFF#000000##000000
##DBC2521.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE45
Deuteranopia (green-blind)
#DBC658
Tritanopia (blue-blind)
#EBB4AA
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dbc252;
/* rgb */ color: rgb(219, 194, 82);
/* oklch */ color: oklch(81.4% 0.133 96.7);
Tailwind
colors: {
  custom: {
    50: '#e9d487',
    500: '#dbc252',
    950: '#000000',
  },
}
SCSS
$custom: #dbc252;
$custom-light: #e9d487;
$custom-dark: #000000;
JSON
{
  "hex": "#dbc252",
  "rgb": {
    "r": 219,
    "g": 194,
    "b": 82
  },
  "hsl": {
    "h": 49.051,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.81425,
    "c": 0.13344,
    "h": 96.7
  },
  "luminance": 0.54253
}

Semantic roles & 50–950 ramp

primary
#DBC252
secondary
#394A99
accent
#5EE93F
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #DBC252

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

Preview Lab → · Contrast checker → · Palette generator →

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