#DBC258#DBC258

#DBC258 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.5% C 0.128 H 96.1°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#DBC258
RGBrgb(219, 194, 88)
HSLhsl(49, 65%, 60%)
HSVhsv(49, 60%, 86%)
CMYKcmyk(0%, 11.4%, 59.8%, 14.1%)
CIE-LABlab(78.67, -3.69, 55.37)
CIE-LCHlch(78.67, 55.49, 93.82°)
OKLaboklab(81.49% -0.0137 0.1278)
OKLCHoklch(81.49% 0.128 96.1)
XYZxyz(50.2688, 54.3506, 17.0735)
Luminance0.5435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBC258 #5871DB
analogous
#DB8158 #DBC258 #B2DB58
triadic
#DBC258 #58DBC2 #C258DB
tetradic
#DBC258 #58DB81 #5871DB #DB58B2
square
#DBC258 #58DB81 #5871DB #DB58B2
split-complementary
#DBC258 #58B2DB #8158DB
monochromatic
#988121 #CAAC2C #DBC258 #E6D48A #F1E7BD

Accessibility & contrast

On white

1.77
#DBC258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.87
#DBC258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBC258
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBC258#FFFFFF#000000##000000
##DBC2581.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE4D
Deuteranopia (green-blind)
#DAC65D
Tritanopia (blue-blind)
#EBB5AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dbc258;
/* rgb */ color: rgb(219, 194, 88);
/* oklch */ color: oklch(81.5% 0.128 96.1);
Tailwind
colors: {
  custom: {
    50: '#e9d48b',
    500: '#dbc258',
    950: '#000000',
  },
}
SCSS
$custom: #dbc258;
$custom-light: #e9d48b;
$custom-dark: #000000;
JSON
{
  "hex": "#dbc258",
  "rgb": {
    "r": 219,
    "g": 194,
    "b": 88
  },
  "hsl": {
    "h": 48.55,
    "s": 64.532,
    "l": 60.196
  },
  "oklch": {
    "l": 0.81486,
    "c": 0.12849,
    "h": 96.1
  },
  "luminance": 0.54348
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DBC258

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

Preview Lab → · Contrast checker → · Palette generator →

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