#D7BB2C#D7BB2C

#D7BB2C 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.03:1 contrast (WCAG AA passes).

Color values

HEX#D7BB2C
RGBrgb(215, 187, 44)
HSLhsl(50, 68%, 51%)
HSVhsv(50, 80%, 84%)
CMYKcmyk(0%, 13%, 79.5%, 15.7%)
CIE-LABlab(76.17, -4.03, 69.81)
CIE-LCHlch(76.17, 69.93, 93.30°)
OKLaboklab(79.33% -0.0192 0.1511)
OKLCHoklch(79.33% 0.152 97.2)
XYZxyz(46.2518, 50.1721, 9.6304)
Luminance0.5017 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BB2C #2C48D7
analogous
#D7652C #D7BB2C #9ED72C
triadic
#D7BB2C #2CD7BB #BB2CD7
tetradic
#D7BB2C #2CD765 #2C48D7 #D72C9E
square
#D7BB2C #2CD765 #2C48D7 #D72C9E
split-complementary
#D7BB2C #2C9ED7 #652CD7
monochromatic
#736416 #A69020 #D7BB2C #E1CC5F #EBDC93

Accessibility & contrast

On white

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

On black

11.03
#D7BB2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BB2C
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BB2C#FFFFFF#000000##000000
##D7BB2C1.001.9011.0311.03
#FFFFFF1.901.0021.0021.00
#00000011.0321.001.001.00
##00000011.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7bb2c;
/* rgb */ color: rgb(215, 187, 44);
/* oklch */ color: oklch(79.3% 0.152 97.2);
Tailwind
colors: {
  custom: {
    50: '#e8cf72',
    500: '#d7bb2c',
    950: '#000000',
  },
}
SCSS
$custom: #d7bb2c;
$custom-light: #e8cf72;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bb2c",
  "rgb": {
    "r": 215,
    "g": 187,
    "b": 44
  },
  "hsl": {
    "h": 50.175,
    "s": 68.127,
    "l": 50.784
  },
  "oklch": {
    "l": 0.79329,
    "c": 0.1523,
    "h": 97.2
  },
  "luminance": 0.5017
}

Semantic roles & 50–950 ramp

primary
#D7BB2C
secondary
#2C397B
accent
#59EB3D
background
#FFFEFB
surface
#FEFAF1
border
#D6D3CB
text
#171309
muted
#85837D

Preview Lab

Preview with #D7BB2C

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

Preview Lab → · Contrast checker → · Palette generator →

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