#D2BC4F#D2BC4F

#D2BC4F is a light, vivid yellow. Relative luminance 0.502; OKLCH L 79.3% C 0.130 H 97.9°. Best body text is #000000 at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#D2BC4F
RGBrgb(210, 188, 79)
HSLhsl(50, 59%, 57%)
HSVhsv(50, 62%, 82%)
CMYKcmyk(0%, 10.5%, 62.4%, 17.6%)
CIE-LABlab(76.21, -4.98, 56.46)
CIE-LCHlch(76.21, 56.68, 95.04°)
OKLaboklab(79.33% -0.0179 0.1291)
OKLCHoklch(79.33% 0.13 97.9)
XYZxyz(45.9748, 50.2347, 14.6702)
Luminance0.5023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BC4F #4F65D2
analogous
#D27B4F #D2BC4F #A6D24F
triadic
#D2BC4F #4FD2BC #BC4FD2
tetradic
#D2BC4F #4FD27B #4F65D2 #D24FA6
square
#D2BC4F #4FD27B #4F65D2 #D24FA6
split-complementary
#D2BC4F #4FA6D2 #7B4FD2
monochromatic
#857422 #B59F2E #D2BC4F #DECF80 #EBE1B0

Accessibility & contrast

On white

1.90
#D2BC4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.05
#D2BC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BC4F
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BC4F#FFFFFF#000000##000000
##D2BC4F1.001.9011.0511.05
#FFFFFF1.901.0021.0021.00
#00000011.0521.001.001.00
##00000011.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB843
Deuteranopia (green-blind)
#D3BF54
Tritanopia (blue-blind)
#E1AFA5
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d2bc4f;
/* rgb */ color: rgb(210, 188, 79);
/* oklch */ color: oklch(79.3% 0.130 97.9);
Tailwind
colors: {
  custom: {
    50: '#e3cf85',
    500: '#d2bc4f',
    950: '#000000',
  },
}
SCSS
$custom: #d2bc4f;
$custom-light: #e3cf85;
$custom-dark: #000000;
JSON
{
  "hex": "#d2bc4f",
  "rgb": {
    "r": 210,
    "g": 188,
    "b": 79
  },
  "hsl": {
    "h": 49.924,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.79326,
    "c": 0.13034,
    "h": 97.9
  },
  "luminance": 0.50233
}

Semantic roles & 50–950 ramp

primary
#D2BC4F
secondary
#3A478C
accent
#60E245
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16130B
muted
#84837E

Preview Lab

Preview with #D2BC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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