#D2BA4A#D2BA4A

#D2BA4A is a light, vivid yellow. Relative luminance 0.493; OKLCH L 78.9% C 0.133 H 97.1°. Best body text is #000000 at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#D2BA4A
RGBrgb(210, 186, 74)
HSLhsl(49, 60%, 56%)
HSVhsv(49, 65%, 82%)
CMYKcmyk(0%, 11.4%, 64.8%, 17.6%)
CIE-LABlab(75.65, -4.25, 58.02)
CIE-LCHlch(75.65, 58.18, 94.19°)
OKLaboklab(78.86% -0.0164 0.1317)
OKLCHoklch(78.86% 0.133 97.1)
XYZxyz(45.3753, 49.3160, 13.6061)
Luminance0.4931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BA4A #4A62D2
analogous
#D2764A #D2BA4A #A6D24A
triadic
#D2BA4A #4AD2BA #BA4AD2
tetradic
#D2BA4A #4AD276 #4A62D2 #D24AA6
square
#D2BA4A #4AD276 #4A62D2 #D24AA6
split-complementary
#D2BA4A #4AA6D2 #764AD2
monochromatic
#817020 #B29B2C #D2BA4A #DECD7B #EADFAC

Accessibility & contrast

On white

1.93
#D2BA4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.86
#D2BA4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BA4A
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BA4A#FFFFFF#000000##000000
##D2BA4A1.001.9310.8610.86
#FFFFFF1.931.0021.0021.00
#00000010.8621.001.001.00
##00000010.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB63C
Deuteranopia (green-blind)
#D2BE50
Tritanopia (blue-blind)
#E2ADA2
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d2ba4a;
/* rgb */ color: rgb(210, 186, 74);
/* oklch */ color: oklch(78.9% 0.133 97.1);
Tailwind
colors: {
  custom: {
    50: '#e3ce82',
    500: '#d2ba4a',
    950: '#000000',
  },
}
SCSS
$custom: #d2ba4a;
$custom-light: #e3ce82;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ba4a",
  "rgb": {
    "r": 210,
    "g": 186,
    "b": 74
  },
  "hsl": {
    "h": 49.412,
    "s": 60.177,
    "l": 55.686
  },
  "oklch": {
    "l": 0.78865,
    "c": 0.13271,
    "h": 97.1
  },
  "luminance": 0.49314
}

Semantic roles & 50–950 ramp

primary
#D2BA4A
secondary
#A0AAD8
accent
#61E344
background
#FEFCF8
surface
#FDF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D2BA4A

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

Preview Lab → · Contrast checker → · Palette generator →

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