#DBC045#DBC045

#DBC045 is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.9% C 0.142 H 96.6°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#DBC045
RGBrgb(219, 192, 69)
HSLhsl(49, 68%, 56%)
HSVhsv(49, 68%, 86%)
CMYKcmyk(0%, 12.3%, 68.5%, 14.1%)
CIE-LABlab(77.99, -3.82, 62.80)
CIE-LCHlch(77.99, 62.91, 93.48°)
OKLaboklab(80.9% -0.0163 0.1407)
OKLCHoklch(80.9% 0.142 96.6)
XYZxyz(49.1396, 53.1915, 13.3077)
Luminance0.5319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBC045 #4560DB
analogous
#DB7545 #DBC045 #ABDB45
triadic
#DBC045 #45DBC0 #C045DB
tetradic
#DBC045 #45DB75 #4560DB #DB45AB
square
#DBC045 #45DB75 #4560DB #DB45AB
split-complementary
#DBC045 #45ABDB #7545DB
monochromatic
#8B771B #BEA225 #DBC045 #E5D178 #EFE3AC

Accessibility & contrast

On white

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

On black

11.64
#DBC045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBC045
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBC045#FFFFFF#000000##000000
##DBC0451.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dbc045;
/* rgb */ color: rgb(219, 192, 69);
/* oklch */ color: oklch(80.9% 0.142 96.6);
Tailwind
colors: {
  custom: {
    50: '#ead27f',
    500: '#dbc045',
    950: '#000000',
  },
}
SCSS
$custom: #dbc045;
$custom-light: #ead27f;
$custom-dark: #000000;
JSON
{
  "hex": "#dbc045",
  "rgb": {
    "r": 219,
    "g": 192,
    "b": 69
  },
  "hsl": {
    "h": 49.2,
    "s": 67.568,
    "l": 56.471
  },
  "oklch": {
    "l": 0.80898,
    "c": 0.14164,
    "h": 96.6
  },
  "luminance": 0.53189
}

Semantic roles & 50–950 ramp

primary
#DBC045
secondary
#344491
accent
#5DEA3D
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DBC045

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

Preview Lab → · Contrast checker → · Palette generator →

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