#D2BA54#D2BA54

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

Color values

HEX#D2BA54
RGBrgb(210, 186, 84)
HSLhsl(49, 58%, 58%)
HSVhsv(49, 60%, 82%)
CMYKcmyk(0%, 11.4%, 60%, 17.6%)
CIE-LABlab(75.74, -3.60, 53.69)
CIE-LCHlch(75.74, 53.81, 93.84°)
OKLaboklab(78.97% -0.0134 0.1239)
OKLCHoklch(78.97% 0.125 96.2)
XYZxyz(45.7394, 49.4617, 15.5236)
Luminance0.4946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BA54 #546CD2
analogous
#D27B54 #D2BA54 #ABD254
triadic
#D2BA54 #54D2BA #BA54D2
tetradic
#D2BA54 #54D27B #546CD2 #D254AB
square
#D2BA54 #54D27B #546CD2 #D254AB
split-complementary
#D2BA54 #54ABD2 #7B54D2
monochromatic
#887524 #B89E31 #D2BA54 #DFCE84 #EBE1B5

Accessibility & contrast

On white

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

On black

10.89
#D2BA54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BA54
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BA54#FFFFFF#000000##000000
##D2BA541.001.9310.8910.89
#FFFFFF1.931.0021.0021.00
#00000010.8921.001.001.00
##00000010.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2ba54;
/* rgb */ color: rgb(210, 186, 84);
/* oklch */ color: oklch(79.0% 0.125 96.2);
Tailwind
colors: {
  custom: {
    50: '#e3ce88',
    500: '#d2ba54',
    950: '#000000',
  },
}
SCSS
$custom: #d2ba54;
$custom-light: #e3ce88;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ba54",
  "rgb": {
    "r": 210,
    "g": 186,
    "b": 84
  },
  "hsl": {
    "h": 48.571,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.78965,
    "c": 0.12459,
    "h": 96.2
  },
  "luminance": 0.4946
}

Semantic roles & 50–950 ramp

primary
#D2BA54
secondary
#A8B1DA
accent
#64E246
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D2BA54

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

Preview Lab → · Contrast checker → · Palette generator →

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