#D2BA72#D2BA72

#D2BA72 is a light, moderate yellow. Relative luminance 0.500; OKLCH L 79.4% C 0.096 H 91.6°. Best body text is #000000 at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#D2BA72
RGBrgb(210, 186, 114)
HSLhsl(45, 52%, 64%)
HSVhsv(45, 46%, 82%)
CMYKcmyk(0%, 11.4%, 45.7%, 17.6%)
CIE-LABlab(76.09, -1.07, 39.51)
CIE-LCHlch(76.09, 39.53, 91.55°)
OKLaboklab(79.36% -0.0027 0.0956)
OKLCHoklch(79.36% 0.096 91.6)
XYZxyz(47.1759, 50.0363, 23.0893)
Luminance0.5003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BA72 #728AD2
analogous
#D28A72 #D2BA72 #BAD272
triadic
#D2BA72 #72D2BA #BA72D2
tetradic
#D2BA72 #72D28A #728AD2 #D272BA
square
#D2BA72 #72D28A #728AD2 #D272BA
split-complementary
#D2BA72 #72BAD2 #8A72D2
monochromatic
#997F31 #C3A344 #D2BA72 #E1D1A0 #F0E7CF

Accessibility & contrast

On white

1.91
#D2BA72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.01
#D2BA72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BA72
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BA72#FFFFFF#000000##000000
##D2BA721.001.9111.0111.01
#FFFFFF1.911.0021.0021.00
#00000011.0121.001.001.00
##00000011.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B86C
Deuteranopia (green-blind)
#CFBF75
Tritanopia (blue-blind)
#DFAFA8
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d2ba72;
/* rgb */ color: rgb(210, 186, 114);
/* oklch */ color: oklch(79.4% 0.096 91.6);
Tailwind
colors: {
  custom: {
    50: '#e1ce9c',
    500: '#d2ba72',
    950: '#000000',
  },
}
SCSS
$custom: #d2ba72;
$custom-light: #e1ce9c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ba72",
  "rgb": {
    "r": 210,
    "g": 186,
    "b": 114
  },
  "hsl": {
    "h": 45,
    "s": 51.613,
    "l": 63.529
  },
  "oklch": {
    "l": 0.79359,
    "c": 0.09565,
    "h": 91.6
  },
  "luminance": 0.50034
}

Semantic roles & 50–950 ramp

primary
#D2BA72
secondary
#4A5F9E
accent
#4DBF26
background
#FEFEFC
surface
#FCFAF5
border
#D5D3CF
text
#16130E
muted
#84837F

Preview Lab

Preview with #D2BA72

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

Preview Lab → · Contrast checker → · Palette generator →

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