#D2BA64#D2BA64

#D2BA64 is a light, moderate yellow. Relative luminance 0.497; OKLCH L 79.2% C 0.110 H 94.1°. Best body text is #000000 at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#D2BA64
RGBrgb(210, 186, 100)
HSLhsl(47, 55%, 61%)
HSVhsv(47, 52%, 82%)
CMYKcmyk(0%, 11.4%, 52.4%, 17.6%)
CIE-LABlab(75.91, -2.36, 46.30)
CIE-LCHlch(75.91, 46.36, 92.91°)
OKLaboklab(79.16% -0.0079 0.1096)
OKLCHoklch(79.16% 0.11 94.1)
XYZxyz(46.4392, 49.7416, 19.2091)
Luminance0.4974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BA64 #647CD2
analogous
#D28364 #D2BA64 #B3D264
triadic
#D2BA64 #64D2BA #BA64D2
tetradic
#D2BA64 #64D283 #647CD2 #D264B3
square
#D2BA64 #64D283 #647CD2 #D264B3
split-complementary
#D2BA64 #64B3D2 #8364D2
monochromatic
#917B2A #C1A338 #D2BA64 #E0CF93 #EEE4C3

Accessibility & contrast

On white

1.92
#D2BA64 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.95
#D2BA64 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BA64
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BA64#FFFFFF#000000##000000
##D2BA641.001.9210.9510.95
#FFFFFF1.921.0021.0021.00
#00000010.9521.001.001.00
##00000010.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB75C
Deuteranopia (green-blind)
#D0BE67
Tritanopia (blue-blind)
#E0AEA6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d2ba64;
/* rgb */ color: rgb(210, 186, 100);
/* oklch */ color: oklch(79.2% 0.110 94.1);
Tailwind
colors: {
  custom: {
    50: '#e2ce92',
    500: '#d2ba64',
    950: '#000000',
  },
}
SCSS
$custom: #d2ba64;
$custom-light: #e2ce92;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ba64",
  "rgb": {
    "r": 210,
    "g": 186,
    "b": 100
  },
  "hsl": {
    "h": 46.909,
    "s": 55,
    "l": 60.784
  },
  "oklch": {
    "l": 0.79157,
    "c": 0.10991,
    "h": 94.1
  },
  "luminance": 0.4974
}

Semantic roles & 50–950 ramp

primary
#D2BA64
secondary
#B4BDDE
accent
#46C323
background
#FEFCF9
surface
#FCF9F1
border
#D5D2CB
text
#16130D
muted
#84827E

Preview Lab

Preview with #D2BA64

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

Preview Lab → · Contrast checker → · Palette generator →

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