#DBC04A#DBC04A

#DBC04A is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.9% C 0.138 H 96.2°. Best body text is #000000 at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#DBC04A
RGBrgb(219, 192, 74)
HSLhsl(49, 67%, 57%)
HSVhsv(49, 66%, 86%)
CMYKcmyk(0%, 12.3%, 66.2%, 14.1%)
CIE-LABlab(78.03, -3.55, 60.79)
CIE-LCHlch(78.03, 60.89, 93.34°)
OKLaboklab(80.94% -0.0149 0.1373)
OKLCHoklch(80.94% 0.138 96.2)
XYZxyz(49.3014, 53.2562, 14.1599)
Luminance0.5325 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBC04A #4A65DB
analogous
#DB784A #DBC04A #ADDB4A
triadic
#DBC04A #4ADBC0 #C04ADB
tetradic
#DBC04A #4ADB78 #4A65DB #DB4AAD
square
#DBC04A #4ADB78 #4A65DB #DB4AAD
split-complementary
#DBC04A #4AADDB #784ADB
monochromatic
#8E791C #C1A526 #DBC04A #E5D27D #EFE4B0

Accessibility & contrast

On white

1.80
#DBC04A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.65
#DBC04A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBC04A
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBC04A#FFFFFF#000000##000000
##DBC04A1.001.8011.6511.65
#FFFFFF1.801.0021.0021.00
#00000011.6521.001.001.00
##00000011.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC3B
Deuteranopia (green-blind)
#DAC550
Tritanopia (blue-blind)
#ECB2A7
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #dbc04a;
/* rgb */ color: rgb(219, 192, 74);
/* oklch */ color: oklch(80.9% 0.138 96.2);
Tailwind
colors: {
  custom: {
    50: '#ead282',
    500: '#dbc04a',
    950: '#000000',
  },
}
SCSS
$custom: #dbc04a;
$custom-light: #ead282;
$custom-dark: #000000;
JSON
{
  "hex": "#dbc04a",
  "rgb": {
    "r": 219,
    "g": 192,
    "b": 74
  },
  "hsl": {
    "h": 48.828,
    "s": 66.82,
    "l": 57.451
  },
  "oklch": {
    "l": 0.80941,
    "c": 0.13808,
    "h": 96.2
  },
  "luminance": 0.53254
}

Semantic roles & 50–950 ramp

primary
#DBC04A
secondary
#364794
accent
#5EEA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DBC04A

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

Preview Lab → · Contrast checker → · Palette generator →

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