#D4BB2E#D4BB2E

#D4BB2E is a light, vivid yellow. Relative luminance 0.497; OKLCH L 79.1% C 0.151 H 98.5°. Best body text is #000000 at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#D4BB2E
RGBrgb(212, 187, 46)
HSLhsl(51, 66%, 51%)
HSVhsv(51, 78%, 83%)
CMYKcmyk(0%, 11.8%, 78.3%, 16.9%)
CIE-LABlab(75.91, -5.26, 68.86)
CIE-LCHlch(75.91, 69.06, 94.36°)
OKLaboklab(79.05% -0.0223 0.1496)
OKLCHoklch(79.05% 0.151 98.5)
XYZxyz(45.4172, 49.7373, 9.7923)
Luminance0.4974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4BB2E #2E47D4
analogous
#D4682E #D4BB2E #9AD42E
triadic
#D4BB2E #2ED4BB #BB2ED4
tetradic
#D4BB2E #2ED468 #2E47D4 #D42E9A
square
#D4BB2E #2ED468 #2E47D4 #D42E9A
split-complementary
#D4BB2E #2E9AD4 #682ED4
monochromatic
#706317 #A39022 #D4BB2E #DECC61 #E9DC94

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4BB2E#FFFFFF#000000##000000
##D4BB2E1.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)
#CEB607
Deuteranopia (green-blind)
#D5BF38
Tritanopia (blue-blind)
#E5ACA1
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d4bb2e;
/* rgb */ color: rgb(212, 187, 46);
/* oklch */ color: oklch(79.1% 0.151 98.5);
Tailwind
colors: {
  custom: {
    50: '#e6cf73',
    500: '#d4bb2e',
    950: '#000000',
  },
}
SCSS
$custom: #d4bb2e;
$custom-light: #e6cf73;
$custom-dark: #000000;
JSON
{
  "hex": "#d4bb2e",
  "rgb": {
    "r": 212,
    "g": 187,
    "b": 46
  },
  "hsl": {
    "h": 50.964,
    "s": 65.873,
    "l": 50.588
  },
  "oklch": {
    "l": 0.79055,
    "c": 0.15122,
    "h": 98.5
  },
  "luminance": 0.49735
}

Semantic roles & 50–950 ramp

primary
#D4BB2E
secondary
#8A95D4
accent
#59E93F
background
#FEFCF7
surface
#FDF9ED
border
#D5D2C8
text
#171309
muted
#85827B

Preview Lab

Preview with #D4BB2E

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

Preview Lab → · Contrast checker → · Palette generator →

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