#DBCC51#DBCC51

#DBCC51 is a very light, vivid yellow. Relative luminance 0.588; OKLCH L 83.5% C 0.143 H 102.4°. Best body text is #000000 at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#DBCC51
RGBrgb(219, 204, 81)
HSLhsl(53, 66%, 59%)
HSVhsv(53, 63%, 86%)
CMYKcmyk(0%, 6.8%, 63%, 14.1%)
CIE-LABlab(81.20, -9.28, 61.21)
CIE-LCHlch(81.20, 61.91, 98.62°)
OKLaboklab(83.48% -0.0305 0.1392)
OKLCHoklch(83.48% 0.143 102.4)
XYZxyz(52.2935, 58.8420, 16.3861)
Luminance0.5884 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBCC51 #5160DB
analogous
#DB8751 #DBCC51 #A5DB51
triadic
#DBCC51 #51DBCC #CC51DB
tetradic
#DBCC51 #51DB87 #5160DB #DB51A5
square
#DBCC51 #51DB87 #5160DB #DB51A5
split-complementary
#DBCC51 #51A5DB #8751DB
monochromatic
#93861E #C6B529 #DBCC51 #E5DB84 #F0EAB6

Accessibility & contrast

On white

1.64
#DBCC51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.77
#DBCC51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBCC51
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBCC51#FFFFFF#000000##000000
##DBCC511.001.6412.7712.77
#FFFFFF1.641.0021.0021.00
#00000012.7721.001.001.00
##00000012.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC642
Deuteranopia (green-blind)
#E2CD58
Tritanopia (blue-blind)
#EBBFB2
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #dbcc51;
/* rgb */ color: rgb(219, 204, 81);
/* oklch */ color: oklch(83.5% 0.143 102.4);
Tailwind
colors: {
  custom: {
    50: '#e9db87',
    500: '#dbcc51',
    950: '#000000',
  },
}
SCSS
$custom: #dbcc51;
$custom-light: #e9db87;
$custom-dark: #000000;
JSON
{
  "hex": "#dbcc51",
  "rgb": {
    "r": 219,
    "g": 204,
    "b": 81
  },
  "hsl": {
    "h": 53.478,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.83479,
    "c": 0.14254,
    "h": 102.4
  },
  "luminance": 0.5884
}

Semantic roles & 50–950 ramp

primary
#DBCC51
secondary
#384398
accent
#52E93F
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DBCC51

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

Preview Lab → · Contrast checker → · Palette generator →

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