#DBC954#DBC954

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

Color values

HEX#DBC954
RGBrgb(219, 201, 84)
HSLhsl(52, 65%, 59%)
HSVhsv(52, 62%, 86%)
CMYKcmyk(0%, 8.2%, 61.6%, 14.1%)
CIE-LABlab(80.45, -7.56, 59.11)
CIE-LCHlch(80.45, 59.59, 97.29°)
OKLaboklab(82.89% -0.0253 0.1352)
OKLCHoklch(82.89% 0.138 100.6)
XYZxyz(51.7023, 57.4756, 16.7563)
Luminance0.5747 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBC954 #5466DB
analogous
#DB8654 #DBC954 #AADB54
triadic
#DBC954 #54DBC9 #C954DB
tetradic
#DBC954 #54DB86 #5466DB #DB54AA
square
#DBC954 #54DB86 #5466DB #DB54AA
split-complementary
#DBC954 #54AADB #8654DB
monochromatic
#95851F #C8B32A #DBC954 #E6D987 #F0E9B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DBC954#FFFFFF#000000##000000
##DBC9541.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)
#DAC447
Deuteranopia (green-blind)
#E0CB5A
Tritanopia (blue-blind)
#EBBCB0
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dbc954;
/* rgb */ color: rgb(219, 201, 84);
/* oklch */ color: oklch(82.9% 0.138 100.6);
Tailwind
colors: {
  custom: {
    50: '#e9d989',
    500: '#dbc954',
    950: '#000000',
  },
}
SCSS
$custom: #dbc954;
$custom-light: #e9d989;
$custom-dark: #000000;
JSON
{
  "hex": "#dbc954",
  "rgb": {
    "r": 219,
    "g": 201,
    "b": 84
  },
  "hsl": {
    "h": 52,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.82885,
    "c": 0.13754,
    "h": 100.6
  },
  "luminance": 0.57473
}

Semantic roles & 50–950 ramp

primary
#DBC954
secondary
#39469A
accent
#56E840
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DBC954

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

Preview Lab → · Contrast checker → · Palette generator →

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