#DBC254#DBC254

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

Color values

HEX#DBC254
RGBrgb(219, 194, 84)
HSLhsl(49, 65%, 59%)
HSVhsv(49, 62%, 86%)
CMYKcmyk(0%, 11.4%, 61.6%, 14.1%)
CIE-LABlab(78.63, -3.96, 57.12)
CIE-LCHlch(78.63, 57.26, 93.97°)
OKLaboklab(81.45% -0.015 0.131)
OKLCHoklch(81.45% 0.132 96.5)
XYZxyz(50.1076, 54.2861, 16.2247)
Luminance0.5428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBC254 #546DDB
analogous
#DB7F54 #DBC254 #B1DB54
triadic
#DBC254 #54DBC2 #C254DB
tetradic
#DBC254 #54DB7F #546DDB #DB54B1
square
#DBC254 #54DB7F #546DDB #DB54B1
split-complementary
#DBC254 #54B1DB #7F54DB
monochromatic
#957F1F #C8AB2A #DBC254 #E6D487 #F0E6B9

Accessibility & contrast

On white

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

On black

11.86
#DBC254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBC254
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBC254#FFFFFF#000000##000000
##DBC2541.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE48
Deuteranopia (green-blind)
#DAC659
Tritanopia (blue-blind)
#EBB5AA
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dbc254;
/* rgb */ color: rgb(219, 194, 84);
/* oklch */ color: oklch(81.4% 0.132 96.5);
Tailwind
colors: {
  custom: {
    50: '#e9d488',
    500: '#dbc254',
    950: '#000000',
  },
}
SCSS
$custom: #dbc254;
$custom-light: #e9d488;
$custom-dark: #000000;
JSON
{
  "hex": "#dbc254",
  "rgb": {
    "r": 219,
    "g": 194,
    "b": 84
  },
  "hsl": {
    "h": 48.889,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.81445,
    "c": 0.13182,
    "h": 96.5
  },
  "luminance": 0.54284
}

Semantic roles & 50–950 ramp

primary
#DBC254
secondary
#394B9A
accent
#5FE840
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DBC254

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

Preview Lab → · Contrast checker → · Palette generator →

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