#D2B846#D2B846

#D2B846 is a light, vivid yellow. Relative luminance 0.484; OKLCH L 78.4% C 0.134 H 96.2°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#D2B846
RGBrgb(210, 184, 70)
HSLhsl(49, 61%, 55%)
HSVhsv(49, 67%, 82%)
CMYKcmyk(0%, 12.4%, 66.7%, 17.6%)
CIE-LABlab(75.09, -3.45, 59.14)
CIE-LCHlch(75.09, 59.24, 93.34°)
OKLaboklab(78.42% -0.0146 0.1334)
OKLCHoklch(78.42% 0.134 96.2)
XYZxyz(44.8264, 48.4271, 12.7794)
Luminance0.4843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B846 #4660D2
analogous
#D27246 #D2B846 #A6D246
triadic
#D2B846 #46D2B8 #B846D2
tetradic
#D2B846 #46D272 #4660D2 #D246A6
square
#D2B846 #46D272 #4660D2 #D246A6
split-complementary
#D2B846 #46A6D2 #7246D2
monochromatic
#7F6D1F #B0972B #D2B846 #DECB77 #EADEA8

Accessibility & contrast

On white

1.97
#D2B846 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.68
#D2B846 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B846
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B846#FFFFFF#000000##000000
##D2B8461.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB437
Deuteranopia (green-blind)
#D1BC4C
Tritanopia (blue-blind)
#E2ABA0
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d2b846;
/* rgb */ color: rgb(210, 184, 70);
/* oklch */ color: oklch(78.4% 0.134 96.2);
Tailwind
colors: {
  custom: {
    50: '#e3cd7f',
    500: '#d2b846',
    950: '#000000',
  },
}
SCSS
$custom: #d2b846;
$custom-light: #e3cd7f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b846",
  "rgb": {
    "r": 210,
    "g": 184,
    "b": 70
  },
  "hsl": {
    "h": 48.857,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.78416,
    "c": 0.1342,
    "h": 96.2
  },
  "luminance": 0.48425
}

Semantic roles & 50–950 ramp

primary
#D2B846
secondary
#9CA7D7
accent
#62E444
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2B846

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

Preview Lab → · Contrast checker → · Palette generator →

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