#DBC54B#DBC54B

#DBC54B is a light, vivid yellow. Relative luminance 0.555; OKLCH L 82.0% C 0.141 H 99.0°. Best body text is #000000 at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#DBC54B
RGBrgb(219, 197, 75)
HSLhsl(51, 67%, 58%)
HSVhsv(51, 66%, 86%)
CMYKcmyk(0%, 10%, 65.8%, 14.1%)
CIE-LABlab(79.33, -6.07, 61.74)
CIE-LCHlch(79.33, 62.03, 95.61°)
OKLaboklab(81.98% -0.022 0.1394)
OKLCHoklch(81.98% 0.141 99)
XYZxyz(50.4519, 55.5029, 14.7109)
Luminance0.5550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBC54B #4B61DB
analogous
#DB7D4B #DBC54B #A9DB4B
triadic
#DBC54B #4BDBC5 #C54BDB
tetradic
#DBC54B #4BDB7D #4B61DB #DB4BA9
square
#DBC54B #4BDB7D #4B61DB #DB4BA9
split-complementary
#DBC54B #4BA9DB #7D4BDB
monochromatic
#8F7E1D #C2AA27 #DBC54B #E5D57E #EFE6B1

Accessibility & contrast

On white

1.74
#DBC54B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.10
#DBC54B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBC54B
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBC54B#FFFFFF#000000##000000
##DBC54B1.001.7412.1012.10
#FFFFFF1.741.0021.0021.00
#00000012.1021.001.001.00
##00000012.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C03B
Deuteranopia (green-blind)
#DDC852
Tritanopia (blue-blind)
#EBB7AC
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #dbc54b;
/* rgb */ color: rgb(219, 197, 75);
/* oklch */ color: oklch(82.0% 0.141 99.0);
Tailwind
colors: {
  custom: {
    50: '#ead683',
    500: '#dbc54b',
    950: '#000000',
  },
}
SCSS
$custom: #dbc54b;
$custom-light: #ead683;
$custom-dark: #000000;
JSON
{
  "hex": "#dbc54b",
  "rgb": {
    "r": 219,
    "g": 197,
    "b": 75
  },
  "hsl": {
    "h": 50.833,
    "s": 66.667,
    "l": 57.647
  },
  "oklch": {
    "l": 0.81976,
    "c": 0.14117,
    "h": 99
  },
  "luminance": 0.55501
}

Semantic roles & 50–950 ramp

primary
#DBC54B
secondary
#364494
accent
#58EA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DBC54B

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

Preview Lab → · Contrast checker → · Palette generator →

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