#DBC951#DBC951

#DBC951 is a very light, vivid yellow. Relative luminance 0.574; OKLCH L 82.9% C 0.140 H 100.8°. Best body text is #000000 at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#DBC951
RGBrgb(219, 201, 81)
HSLhsl(52, 66%, 59%)
HSVhsv(52, 63%, 86%)
CMYKcmyk(0%, 8.2%, 63%, 14.1%)
CIE-LABlab(80.42, -7.75, 60.37)
CIE-LCHlch(80.42, 60.87, 97.32°)
OKLaboklab(82.86% -0.0262 0.1375)
OKLCHoklch(82.86% 0.14 100.8)
XYZxyz(51.5873, 57.4296, 16.1507)
Luminance0.5743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBC951 #5163DB
analogous
#DB8451 #DBC951 #A8DB51
triadic
#DBC951 #51DBC9 #C951DB
tetradic
#DBC951 #51DB84 #5163DB #DB51A8
square
#DBC951 #51DB84 #5163DB #DB51A8
split-complementary
#DBC951 #51A8DB #8451DB
monochromatic
#93841E #C6B129 #DBC951 #E5D984 #F0E8B6

Accessibility & contrast

On white

1.68
#DBC951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.49
#DBC951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBC951
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBC951#FFFFFF#000000##000000
##DBC9511.001.6812.4912.49
#FFFFFF1.681.0021.0021.00
#00000012.4921.001.001.00
##00000012.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC343
Deuteranopia (green-blind)
#E0CB57
Tritanopia (blue-blind)
#EBBCB0
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dbc951;
/* rgb */ color: rgb(219, 201, 81);
/* oklch */ color: oklch(82.9% 0.140 100.8);
Tailwind
colors: {
  custom: {
    50: '#e9d987',
    500: '#dbc951',
    950: '#000000',
  },
}
SCSS
$custom: #dbc951;
$custom-light: #e9d987;
$custom-dark: #000000;
JSON
{
  "hex": "#dbc951",
  "rgb": {
    "r": 219,
    "g": 201,
    "b": 81
  },
  "hsl": {
    "h": 52.174,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.82857,
    "c": 0.13993,
    "h": 100.8
  },
  "luminance": 0.57427
}

Semantic roles & 50–950 ramp

primary
#DBC951
secondary
#384598
accent
#55E93F
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #DBC951

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

Preview Lab → · Contrast checker → · Palette generator →

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