#D2BA4E#D2BA4E

#D2BA4E 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#D2BA4E
RGBrgb(210, 186, 78)
HSLhsl(49, 59%, 56%)
HSVhsv(49, 63%, 82%)
CMYKcmyk(0%, 11.4%, 62.9%, 17.6%)
CIE-LABlab(75.68, -4.00, 56.32)
CIE-LCHlch(75.68, 56.46, 94.07°)
OKLaboklab(78.9% -0.0152 0.1287)
OKLCHoklch(78.9% 0.13 96.8)
XYZxyz(45.5144, 49.3717, 14.3385)
Luminance0.4937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BA4E #4E66D2
analogous
#D2784E #D2BA4E #A8D24E
triadic
#D2BA4E #4ED2BA #BA4ED2
tetradic
#D2BA4E #4ED278 #4E66D2 #D24EA8
square
#D2BA4E #4ED278 #4E66D2 #D24EA8
split-complementary
#D2BA4E #4EA8D2 #784ED2
monochromatic
#847222 #B59C2E #D2BA4E #DECD7F #EBE0B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2BA4E#FFFFFF#000000##000000
##D2BA4E1.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)
#CBB642
Deuteranopia (green-blind)
#D2BE53
Tritanopia (blue-blind)
#E2ADA3
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d2ba4e;
/* rgb */ color: rgb(210, 186, 78);
/* oklch */ color: oklch(78.9% 0.130 96.8);
Tailwind
colors: {
  custom: {
    50: '#e3ce84',
    500: '#d2ba4e',
    950: '#000000',
  },
}
SCSS
$custom: #d2ba4e;
$custom-light: #e3ce84;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ba4e",
  "rgb": {
    "r": 210,
    "g": 186,
    "b": 78
  },
  "hsl": {
    "h": 49.091,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.78903,
    "c": 0.12956,
    "h": 96.8
  },
  "luminance": 0.4937
}

Semantic roles & 50–950 ramp

primary
#D2BA4E
secondary
#A3ADD9
accent
#62E345
background
#FEFCF8
surface
#FDF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D2BA4E

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

Preview Lab → · Contrast checker → · Palette generator →

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