#DBC851#DBC851

#DBC851 is a very light, vivid yellow. Relative luminance 0.570; OKLCH L 82.7% C 0.139 H 100.2°. Best body text is #000000 at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#DBC851
RGBrgb(219, 200, 81)
HSLhsl(52, 66%, 59%)
HSVhsv(52, 63%, 86%)
CMYKcmyk(0%, 8.7%, 63%, 14.1%)
CIE-LABlab(80.16, -7.24, 60.09)
CIE-LCHlch(80.16, 60.53, 96.87°)
OKLaboklab(82.65% -0.0247 0.1369)
OKLCHoklch(82.65% 0.139 100.2)
XYZxyz(51.3550, 56.9649, 16.0732)
Luminance0.5696 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBC851 #5164DB
analogous
#DB8351 #DBC851 #A9DB51
triadic
#DBC851 #51DBC8 #C851DB
tetradic
#DBC851 #51DB83 #5164DB #DB51A9
square
#DBC851 #51DB83 #5164DB #DB51A9
split-complementary
#DBC851 #51A9DB #8351DB
monochromatic
#93831E #C6B029 #DBC851 #E5D884 #F0E8B6

Accessibility & contrast

On white

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

On black

12.39
#DBC851 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBC851
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBC851#FFFFFF#000000##000000
##DBC8511.001.6912.3912.39
#FFFFFF1.691.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC343
Deuteranopia (green-blind)
#DFCA57
Tritanopia (blue-blind)
#EBBBAF
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dbc851;
/* rgb */ color: rgb(219, 200, 81);
/* oklch */ color: oklch(82.7% 0.139 100.2);
Tailwind
colors: {
  custom: {
    50: '#e9d887',
    500: '#dbc851',
    950: '#000000',
  },
}
SCSS
$custom: #dbc851;
$custom-light: #e9d887;
$custom-dark: #000000;
JSON
{
  "hex": "#dbc851",
  "rgb": {
    "r": 219,
    "g": 200,
    "b": 81
  },
  "hsl": {
    "h": 51.739,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.8265,
    "c": 0.13907,
    "h": 100.2
  },
  "luminance": 0.56963
}

Semantic roles & 50–950 ramp

primary
#DBC851
secondary
#384598
accent
#56E93F
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #DBC851

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

Preview Lab → · Contrast checker → · Palette generator →

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