#DBC442#DBC442

#DBC442 is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.7% C 0.147 H 99.0°. Best body text is #000000 at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#DBC442
RGBrgb(219, 196, 66)
HSLhsl(51, 68%, 56%)
HSVhsv(51, 70%, 86%)
CMYKcmyk(0%, 10.5%, 69.9%, 14.1%)
CIE-LABlab(79.00, -6.04, 65.00)
CIE-LCHlch(79.00, 65.28, 95.31°)
OKLaboklab(81.7% -0.0229 0.1448)
OKLCHoklch(81.7% 0.147 99)
XYZxyz(49.9390, 54.9357, 13.1264)
Luminance0.5493 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBC442 #4259DB
analogous
#DB7742 #DBC442 #A6DB42
triadic
#DBC442 #42DBC4 #C442DB
tetradic
#DBC442 #42DB77 #4259DB #DB42A6
square
#DBC442 #42DB77 #4259DB #DB42A6
split-complementary
#DBC442 #42A6DB #7742DB
monochromatic
#89781A #BCA524 #DBC442 #E5D475 #EFE4A9

Accessibility & contrast

On white

1.75
#DBC442 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.99
#DBC442 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBC442
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBC442#FFFFFF#000000##000000
##DBC4421.001.7511.9911.99
#FFFFFF1.751.0021.0021.00
#00000011.9921.001.001.00
##00000011.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF2F
Deuteranopia (green-blind)
#DDC74A
Tritanopia (blue-blind)
#ECB6AA
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #dbc442;
/* rgb */ color: rgb(219, 196, 66);
/* oklch */ color: oklch(81.7% 0.147 99.0);
Tailwind
colors: {
  custom: {
    50: '#ead57e',
    500: '#dbc442',
    950: '#000000',
  },
}
SCSS
$custom: #dbc442;
$custom-light: #ead57e;
$custom-dark: #000000;
JSON
{
  "hex": "#dbc442",
  "rgb": {
    "r": 219,
    "g": 196,
    "b": 66
  },
  "hsl": {
    "h": 50.98,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.81697,
    "c": 0.14664,
    "h": 99
  },
  "luminance": 0.54933
}

Semantic roles & 50–950 ramp

primary
#DBC442
secondary
#33408F
accent
#57EB3D
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #DBC442

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

Preview Lab → · Contrast checker → · Palette generator →

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