#D2BA55#D2BA55

#D2BA55 is a light, vivid yellow. Relative luminance 0.495; OKLCH L 79.0% C 0.124 H 96.0°. Best body text is #000000 at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#D2BA55
RGBrgb(210, 186, 85)
HSLhsl(48, 58%, 58%)
HSVhsv(48, 60%, 82%)
CMYKcmyk(0%, 11.4%, 59.5%, 17.6%)
CIE-LABlab(75.75, -3.53, 53.24)
CIE-LCHlch(75.75, 53.36, 93.79°)
OKLaboklab(78.98% -0.013 0.123)
OKLCHoklch(78.98% 0.124 96)
XYZxyz(45.7788, 49.4775, 15.7313)
Luminance0.4948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BA55 #556DD2
analogous
#D27B55 #D2BA55 #ABD255
triadic
#D2BA55 #55D2BA #BA55D2
tetradic
#D2BA55 #55D27B #556DD2 #D255AB
square
#D2BA55 #55D27B #556DD2 #D255AB
split-complementary
#D2BA55 #55ABD2 #7B55D2
monochromatic
#887524 #B99F31 #D2BA55 #DFCE85 #ECE1B6

Accessibility & contrast

On white

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

On black

10.90
#D2BA55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BA55
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BA55#FFFFFF#000000##000000
##D2BA551.001.9310.9010.90
#FFFFFF1.931.0021.0021.00
#00000010.9021.001.001.00
##00000010.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB64B
Deuteranopia (green-blind)
#D1BE5A
Tritanopia (blue-blind)
#E1ADA4
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d2ba55;
/* rgb */ color: rgb(210, 186, 85);
/* oklch */ color: oklch(79.0% 0.124 96.0);
Tailwind
colors: {
  custom: {
    50: '#e3ce88',
    500: '#d2ba55',
    950: '#000000',
  },
}
SCSS
$custom: #d2ba55;
$custom-light: #e3ce88;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ba55",
  "rgb": {
    "r": 210,
    "g": 186,
    "b": 85
  },
  "hsl": {
    "h": 48.48,
    "s": 58.14,
    "l": 57.843
  },
  "oklch": {
    "l": 0.78976,
    "c": 0.12373,
    "h": 96
  },
  "luminance": 0.49475
}

Semantic roles & 50–950 ramp

primary
#D2BA55
secondary
#A8B2DA
accent
#64E146
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D2BA55

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

Preview Lab → · Contrast checker → · Palette generator →

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