#DBC172#DBC172

#DBC172 is a light, moderate yellow. Relative luminance 0.544; OKLCH L 81.6% C 0.103 H 91.8°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#DBC172
RGBrgb(219, 193, 114)
HSLhsl(45, 59%, 65%)
HSVhsv(45, 48%, 86%)
CMYKcmyk(0%, 11.9%, 47.9%, 14.1%)
CIE-LABlab(78.70, -1.05, 42.95)
CIE-LCHlch(78.70, 42.96, 91.41°)
OKLaboklab(81.61% -0.0032 0.1032)
OKLCHoklch(81.61% 0.103 91.8)
XYZxyz(51.3223, 54.4171, 23.7165)
Luminance0.5442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBC172 #728CDB
analogous
#DB8C72 #DBC172 #C0DB72
triadic
#DBC172 #72DBC1 #C172DB
tetradic
#DBC172 #72DB8C #728CDB #DB72C0
square
#DBC172 #72DB8C #728CDB #DB72C0
split-complementary
#DBC172 #72C0DB #8C72DB
monochromatic
#A8892B #CFAC41 #DBC172 #E7D6A3 #F4ECD4

Accessibility & contrast

On white

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

On black

11.88
#DBC172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBC172
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBC172#FFFFFF#000000##000000
##DBC1721.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BE6C
Deuteranopia (green-blind)
#D7C675
Tritanopia (blue-blind)
#E9B6AE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dbc172;
/* rgb */ color: rgb(219, 193, 114);
/* oklch */ color: oklch(81.6% 0.103 91.8);
Tailwind
colors: {
  custom: {
    50: '#e8d39c',
    500: '#dbc172',
    950: '#000000',
  },
}
SCSS
$custom: #dbc172;
$custom-light: #e8d39c;
$custom-dark: #000000;
JSON
{
  "hex": "#dbc172",
  "rgb": {
    "r": 219,
    "g": 193,
    "b": 114
  },
  "hsl": {
    "h": 45.143,
    "s": 59.322,
    "l": 65.294
  },
  "oklch": {
    "l": 0.81612,
    "c": 0.10325,
    "h": 91.8
  },
  "luminance": 0.54415
}

Semantic roles & 50–950 ramp

primary
#DBC172
secondary
#475FAB
accent
#48C71F
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DBC172

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

Preview Lab → · Contrast checker → · Palette generator →

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