#DBC939#DBC939

#DBC939 is a very light, vivid yellow. Relative luminance 0.571; OKLCH L 82.7% C 0.156 H 101.9°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#DBC939
RGBrgb(219, 201, 57)
HSLhsl(53, 69%, 54%)
HSVhsv(53, 74%, 86%)
CMYKcmyk(0%, 8.2%, 74%, 14.1%)
CIE-LABlab(80.25, -9.01, 69.48)
CIE-LCHlch(80.25, 70.06, 97.39°)
OKLaboklab(82.67% -0.0322 0.1527)
OKLCHoklch(82.67% 0.156 101.9)
XYZxyz(50.8409, 57.1310, 12.2195)
Luminance0.5713 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBC939 #394BDB
analogous
#DB7839 #DBC939 #9CDB39
triadic
#DBC939 #39DBC9 #C939DB
tetradic
#DBC939 #39DB78 #394BDB #DB399C
square
#DBC939 #39DB78 #394BDB #DB399C
split-complementary
#DBC939 #399CDB #7839DB
monochromatic
#827618 #B6A521 #DBC939 #E4D76D #EEE5A1

Accessibility & contrast

On white

1.69
#DBC939 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.43
#DBC939 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBC939
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBC939#FFFFFF#000000##000000
##DBC9391.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC31D
Deuteranopia (green-blind)
#E1CA43
Tritanopia (blue-blind)
#ECBBAD
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dbc939;
/* rgb */ color: rgb(219, 201, 57);
/* oklch */ color: oklch(82.7% 0.156 101.9);
Tailwind
colors: {
  custom: {
    50: '#ead97a',
    500: '#dbc939',
    950: '#000000',
  },
}
SCSS
$custom: #dbc939;
$custom-light: #ead97a;
$custom-dark: #000000;
JSON
{
  "hex": "#dbc939",
  "rgb": {
    "r": 219,
    "g": 201,
    "b": 57
  },
  "hsl": {
    "h": 53.333,
    "s": 69.231,
    "l": 54.118
  },
  "oklch": {
    "l": 0.8267,
    "c": 0.15608,
    "h": 101.9
  },
  "luminance": 0.57129
}

Semantic roles & 50–950 ramp

primary
#DBC939
secondary
#2F3989
accent
#4FEC3C
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #DBC939

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

Preview Lab → · Contrast checker → · Palette generator →

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