#D7BB2E#D7BB2E

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

Color values

HEX#D7BB2E
RGBrgb(215, 187, 46)
HSLhsl(50, 68%, 51%)
HSVhsv(50, 79%, 84%)
CMYKcmyk(0%, 13%, 78.6%, 15.7%)
CIE-LABlab(76.18, -3.96, 69.21)
CIE-LCHlch(76.18, 69.32, 93.27°)
OKLaboklab(79.34% -0.0188 0.1502)
OKLCHoklch(79.34% 0.151 97.1)
XYZxyz(46.2903, 50.1875, 9.8332)
Luminance0.5019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BB2E #2E4AD7
analogous
#D7662E #D7BB2E #9ED72E
triadic
#D7BB2E #2ED7BB #BB2ED7
tetradic
#D7BB2E #2ED766 #2E4AD7 #D72E9E
square
#D7BB2E #2ED766 #2E4AD7 #D72E9E
split-complementary
#D7BB2E #2E9ED7 #662ED7
monochromatic
#746516 #A89120 #D7BB2E #E1CC61 #EBDC95

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7BB2E#FFFFFF#000000##000000
##D7BB2E1.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)
#CFB707
Deuteranopia (green-blind)
#D6C038
Tritanopia (blue-blind)
#E8ACA1
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d7bb2e;
/* rgb */ color: rgb(215, 187, 46);
/* oklch */ color: oklch(79.3% 0.151 97.1);
Tailwind
colors: {
  custom: {
    50: '#e8cf73',
    500: '#d7bb2e',
    950: '#000000',
  },
}
SCSS
$custom: #d7bb2e;
$custom-light: #e8cf73;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bb2e",
  "rgb": {
    "r": 215,
    "g": 187,
    "b": 46
  },
  "hsl": {
    "h": 50.059,
    "s": 67.871,
    "l": 51.176
  },
  "oklch": {
    "l": 0.79339,
    "c": 0.15135,
    "h": 97.1
  },
  "luminance": 0.50185
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7BB2E

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

Preview Lab → · Contrast checker → · Palette generator →

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