#D2BA4D#D2BA4D

#D2BA4D is a light, vivid yellow. Relative luminance 0.494; OKLCH L 78.9% C 0.130 H 96.8°. Best body text is #000000 at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#D2BA4D
RGBrgb(210, 186, 77)
HSLhsl(49, 60%, 56%)
HSVhsv(49, 63%, 82%)
CMYKcmyk(0%, 11.4%, 63.3%, 17.6%)
CIE-LABlab(75.67, -4.07, 56.75)
CIE-LCHlch(75.67, 56.90, 94.10°)
OKLaboklab(78.89% -0.0155 0.1294)
OKLCHoklch(78.89% 0.13 96.8)
XYZxyz(45.4788, 49.3574, 14.1512)
Luminance0.4935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BA4D #4D65D2
analogous
#D2784D #D2BA4D #A8D24D
triadic
#D2BA4D #4DD2BA #BA4DD2
tetradic
#D2BA4D #4DD278 #4D65D2 #D24DA8
square
#D2BA4D #4DD278 #4D65D2 #D24DA8
split-complementary
#D2BA4D #4DA8D2 #784DD2
monochromatic
#837221 #B49C2E #D2BA4D #DECD7E #EBE0AF

Accessibility & contrast

On white

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

On black

10.87
#D2BA4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BA4D
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BA4D#FFFFFF#000000##000000
##D2BA4D1.001.9310.8710.87
#FFFFFF1.931.0021.0021.00
#00000010.8721.001.001.00
##00000010.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB640
Deuteranopia (green-blind)
#D2BE52
Tritanopia (blue-blind)
#E2ADA3
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d2ba4d;
/* rgb */ color: rgb(210, 186, 77);
/* oklch */ color: oklch(78.9% 0.130 96.8);
Tailwind
colors: {
  custom: {
    50: '#e3ce83',
    500: '#d2ba4d',
    950: '#000000',
  },
}
SCSS
$custom: #d2ba4d;
$custom-light: #e3ce83;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ba4d",
  "rgb": {
    "r": 210,
    "g": 186,
    "b": 77
  },
  "hsl": {
    "h": 49.173,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.78893,
    "c": 0.13036,
    "h": 96.8
  },
  "luminance": 0.49355
}

Semantic roles & 50–950 ramp

primary
#D2BA4D
secondary
#A2ACD9
accent
#61E345
background
#FEFCF8
surface
#FDF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D2BA4D

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

Preview Lab → · Contrast checker → · Palette generator →

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