#DBC038#DBC038

#DBC038 is a light, vivid yellow. Relative luminance 0.530; OKLCH L 80.8% C 0.150 H 97.4°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#DBC038
RGBrgb(219, 192, 56)
HSLhsl(50, 69%, 54%)
HSVhsv(50, 74%, 86%)
CMYKcmyk(0%, 12.3%, 74.4%, 14.1%)
CIE-LABlab(77.90, -4.44, 67.61)
CIE-LCHlch(77.90, 67.75, 93.76°)
OKLaboklab(80.8% -0.0194 0.1485)
OKLCHoklch(80.8% 0.15 97.4)
XYZxyz(48.7794, 53.0474, 11.4105)
Luminance0.5304 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBC038 #3853DB
analogous
#DB6F38 #DBC038 #A5DB38
triadic
#DBC038 #38DBC0 #C038DB
tetradic
#DBC038 #38DB6F #3853DB #DB38A5
square
#DBC038 #38DB6F #3853DB #DB38A5
split-complementary
#DBC038 #38A5DB #6F38DB
monochromatic
#817017 #B59C21 #DBC038 #E4D06C #EEE1A0

Accessibility & contrast

On white

1.81
#DBC038 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.61
#DBC038 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBC038
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBC038#FFFFFF#000000##000000
##DBC0381.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB1F
Deuteranopia (green-blind)
#DBC441
Tritanopia (blue-blind)
#ECB1A6
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #dbc038;
/* rgb */ color: rgb(219, 192, 56);
/* oklch */ color: oklch(80.8% 0.150 97.4);
Tailwind
colors: {
  custom: {
    50: '#ead278',
    500: '#dbc038',
    950: '#000000',
  },
}
SCSS
$custom: #dbc038;
$custom-light: #ead278;
$custom-dark: #000000;
JSON
{
  "hex": "#dbc038",
  "rgb": {
    "r": 219,
    "g": 192,
    "b": 56
  },
  "hsl": {
    "h": 50.061,
    "s": 69.362,
    "l": 53.922
  },
  "oklch": {
    "l": 0.80804,
    "c": 0.1498,
    "h": 97.4
  },
  "luminance": 0.53045
}

Semantic roles & 50–950 ramp

primary
#DBC038
secondary
#2F3E88
accent
#59EC3C
background
#FFFEFB
surface
#FEFBF1
border
#D6D4CB
text
#17140A
muted
#85837D

Preview Lab

Preview with #DBC038

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

Preview Lab → · Contrast checker → · Palette generator →

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