#D7BB2D#D7BB2D

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

Color values

HEX#D7BB2D
RGBrgb(215, 187, 45)
HSLhsl(50, 68%, 51%)
HSVhsv(50, 79%, 84%)
CMYKcmyk(0%, 13%, 79.1%, 15.7%)
CIE-LABlab(76.18, -3.99, 69.51)
CIE-LCHlch(76.18, 69.63, 93.29°)
OKLaboklab(79.33% -0.019 0.1506)
OKLCHoklch(79.33% 0.152 97.2)
XYZxyz(46.2708, 50.1797, 9.7306)
Luminance0.5018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BB2D #2D49D7
analogous
#D7662D #D7BB2D #9ED72D
triadic
#D7BB2D #2DD7BB #BB2DD7
tetradic
#D7BB2D #2DD766 #2D49D7 #D72D9E
square
#D7BB2D #2DD766 #2D49D7 #D72D9E
split-complementary
#D7BB2D #2D9ED7 #662DD7
monochromatic
#746416 #A79120 #D7BB2D #E1CC60 #EBDC94

Accessibility & contrast

On white

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

On black

11.04
#D7BB2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BB2D
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BB2D#FFFFFF#000000##000000
##D7BB2D1.001.9011.0411.04
#FFFFFF1.901.0021.0021.00
#00000011.0421.001.001.00
##00000011.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB703
Deuteranopia (green-blind)
#D6C037
Tritanopia (blue-blind)
#E8ACA1
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d7bb2d;
/* rgb */ color: rgb(215, 187, 45);
/* oklch */ color: oklch(79.3% 0.152 97.2);
Tailwind
colors: {
  custom: {
    50: '#e8cf72',
    500: '#d7bb2d',
    950: '#000000',
  },
}
SCSS
$custom: #d7bb2d;
$custom-light: #e8cf72;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bb2d",
  "rgb": {
    "r": 215,
    "g": 187,
    "b": 45
  },
  "hsl": {
    "h": 50.118,
    "s": 68,
    "l": 50.98
  },
  "oklch": {
    "l": 0.79334,
    "c": 0.15183,
    "h": 97.2
  },
  "luminance": 0.50177
}

Semantic roles & 50–950 ramp

primary
#D7BB2D
secondary
#2C397C
accent
#5AEB3D
background
#FFFEFB
surface
#FEFAF1
border
#D6D3CB
text
#171309
muted
#85837D

Preview Lab

Preview with #D7BB2D

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

Preview Lab → · Contrast checker → · Palette generator →

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