#D2BA56#D2BA56

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

Color values

HEX#D2BA56
RGBrgb(210, 186, 86)
HSLhsl(48, 58%, 58%)
HSVhsv(48, 59%, 82%)
CMYKcmyk(0%, 11.4%, 59%, 17.6%)
CIE-LABlab(75.76, -3.46, 52.79)
CIE-LCHlch(75.76, 52.90, 93.75°)
OKLaboklab(78.99% -0.0127 0.1222)
OKLCHoklch(78.99% 0.123 95.9)
XYZxyz(45.8188, 49.4935, 15.9420)
Luminance0.4949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BA56 #566ED2
analogous
#D27C56 #D2BA56 #ACD256
triadic
#D2BA56 #56D2BA #BA56D2
tetradic
#D2BA56 #56D27C #566ED2 #D256AC
square
#D2BA56 #56D27C #566ED2 #D256AC
split-complementary
#D2BA56 #56ACD2 #7C56D2
monochromatic
#897625 #B99F31 #D2BA56 #DFCE86 #ECE1B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2BA56#FFFFFF#000000##000000
##D2BA561.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)
#CBB64C
Deuteranopia (green-blind)
#D1BE5B
Tritanopia (blue-blind)
#E1ADA4
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d2ba56;
/* rgb */ color: rgb(210, 186, 86);
/* oklch */ color: oklch(79.0% 0.123 95.9);
Tailwind
colors: {
  custom: {
    50: '#e3ce89',
    500: '#d2ba56',
    950: '#000000',
  },
}
SCSS
$custom: #d2ba56;
$custom-light: #e3ce89;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ba56",
  "rgb": {
    "r": 210,
    "g": 186,
    "b": 86
  },
  "hsl": {
    "h": 48.387,
    "s": 57.944,
    "l": 58.039
  },
  "oklch": {
    "l": 0.78987,
    "c": 0.12286,
    "h": 95.9
  },
  "luminance": 0.49491
}

Semantic roles & 50–950 ramp

primary
#D2BA56
secondary
#A9B3DB
accent
#65E147
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D2BA56

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

Preview Lab → · Contrast checker → · Palette generator →

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