#DBC158#DBC158

#DBC158 is a light, vivid yellow. Relative luminance 0.539; OKLCH L 81.3% C 0.128 H 95.5°. Best body text is #000000 at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#DBC158
RGBrgb(219, 193, 88)
HSLhsl(48, 65%, 60%)
HSVhsv(48, 60%, 86%)
CMYKcmyk(0%, 11.9%, 59.8%, 14.1%)
CIE-LABlab(78.41, -3.18, 55.08)
CIE-LCHlch(78.41, 55.17, 93.30°)
OKLaboklab(81.28% -0.0122 0.1271)
OKLCHoklch(81.28% 0.128 95.5)
XYZxyz(50.0469, 53.9069, 16.9996)
Luminance0.5391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBC158 #5872DB
analogous
#DB8058 #DBC158 #B3DB58
triadic
#DBC158 #58DBC1 #C158DB
tetradic
#DBC158 #58DB80 #5872DB #DB58B3
square
#DBC158 #58DB80 #5872DB #DB58B3
split-complementary
#DBC158 #58B3DB #8058DB
monochromatic
#988021 #CAAB2C #DBC158 #E6D48A #F1E6BD

Accessibility & contrast

On white

1.78
#DBC158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.78
#DBC158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBC158
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBC158#FFFFFF#000000##000000
##DBC1581.001.7811.7811.78
#FFFFFF1.781.0021.0021.00
#00000011.7821.001.001.00
##00000011.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD4D
Deuteranopia (green-blind)
#D9C65D
Tritanopia (blue-blind)
#EBB4AA
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dbc158;
/* rgb */ color: rgb(219, 193, 88);
/* oklch */ color: oklch(81.3% 0.128 95.5);
Tailwind
colors: {
  custom: {
    50: '#e9d38b',
    500: '#dbc158',
    950: '#000000',
  },
}
SCSS
$custom: #dbc158;
$custom-light: #e9d38b;
$custom-dark: #000000;
JSON
{
  "hex": "#dbc158",
  "rgb": {
    "r": 219,
    "g": 193,
    "b": 88
  },
  "hsl": {
    "h": 48.092,
    "s": 64.532,
    "l": 60.196
  },
  "oklch": {
    "l": 0.81282,
    "c": 0.12773,
    "h": 95.5
  },
  "luminance": 0.53905
}

Semantic roles & 50–950 ramp

primary
#DBC158
secondary
#3B4E9C
accent
#3DCC19
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #DBC158

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

Preview Lab → · Contrast checker → · Palette generator →

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