#DBD172#DBD172

#DBD172 is a very light, moderate yellow. Relative luminance 0.619; OKLCH L 84.9% C 0.118 H 103.2°. Best body text is #000000 at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#DBD172
RGBrgb(219, 209, 114)
HSLhsl(54, 59%, 65%)
HSVhsv(54, 48%, 86%)
CMYKcmyk(0%, 4.6%, 47.9%, 14.1%)
CIE-LABlab(82.85, -9.28, 48.03)
CIE-LCHlch(82.85, 48.91, 100.94°)
OKLaboklab(84.89% -0.0269 0.1145)
OKLCHoklch(84.89% 0.118 103.2)
XYZxyz(55.0526, 61.8776, 24.9599)
Luminance0.6188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBD172 #727CDB
analogous
#DB9D72 #DBD172 #B0DB72
triadic
#DBD172 #72DBD1 #D172DB
tetradic
#DBD172 #72DB9D #727CDB #DB72B0
square
#DBD172 #72DB9D #727CDB #DB72B0
split-complementary
#DBD172 #72B0DB #9D72DB
monochromatic
#A89C2B #CFC141 #DBD172 #E7E1A3 #F4F1D4

Accessibility & contrast

On white

1.57
#DBD172 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.38
#DBD172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBD172
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBD172#FFFFFF#000000##000000
##DBD1721.001.5713.3813.38
#FFFFFF1.571.0021.0021.00
#00000013.3821.001.001.00
##00000013.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CB6A
Deuteranopia (green-blind)
#E3D176
Tritanopia (blue-blind)
#E8C6BB
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #dbd172;
/* rgb */ color: rgb(219, 209, 114);
/* oklch */ color: oklch(84.9% 0.118 103.2);
Tailwind
colors: {
  custom: {
    50: '#e8de9c',
    500: '#dbd172',
    950: '#000000',
  },
}
SCSS
$custom: #dbd172;
$custom-light: #e8de9c;
$custom-dark: #000000;
JSON
{
  "hex": "#dbd172",
  "rgb": {
    "r": 219,
    "g": 209,
    "b": 114
  },
  "hsl": {
    "h": 54.286,
    "s": 59.322,
    "l": 65.294
  },
  "oklch": {
    "l": 0.84892,
    "c": 0.11759,
    "h": 103.2
  },
  "luminance": 0.61876
}

Semantic roles & 50–950 ramp

primary
#DBD172
secondary
#4750AB
accent
#2FC71F
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #DBD172

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

Preview Lab → · Contrast checker → · Palette generator →

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