#D7BB30#D7BB30

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

Color values

HEX#D7BB30
RGBrgb(215, 187, 48)
HSLhsl(50, 68%, 52%)
HSVhsv(50, 78%, 84%)
CMYKcmyk(0%, 13%, 77.7%, 15.7%)
CIE-LABlab(76.19, -3.89, 68.58)
CIE-LCHlch(76.19, 68.69, 93.24°)
OKLaboklab(79.35% -0.0184 0.1492)
OKLCHoklch(79.35% 0.15 97)
XYZxyz(46.3306, 50.2036, 10.0457)
Luminance0.5020 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BB30 #304CD7
analogous
#D76830 #D7BB30 #A0D730
triadic
#D7BB30 #30D7BB #BB30D7
tetradic
#D7BB30 #30D768 #304CD7 #D730A0
square
#D7BB30 #30D768 #304CD7 #D730A0
split-complementary
#D7BB30 #30A0D7 #6830D7
monochromatic
#766617 #A99221 #D7BB30 #E1CC63 #EBDD97

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7BB30#FFFFFF#000000##000000
##D7BB301.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)
#CEB70E
Deuteranopia (green-blind)
#D6C03A
Tritanopia (blue-blind)
#E8ACA1
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d7bb30;
/* rgb */ color: rgb(215, 187, 48);
/* oklch */ color: oklch(79.3% 0.150 97.0);
Tailwind
colors: {
  custom: {
    50: '#e8cf74',
    500: '#d7bb30',
    950: '#000000',
  },
}
SCSS
$custom: #d7bb30;
$custom-light: #e8cf74;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bb30",
  "rgb": {
    "r": 215,
    "g": 187,
    "b": 48
  },
  "hsl": {
    "h": 49.94,
    "s": 67.611,
    "l": 51.569
  },
  "oklch": {
    "l": 0.7935,
    "c": 0.15036,
    "h": 97
  },
  "luminance": 0.50201
}

Semantic roles & 50–950 ramp

primary
#D7BB30
secondary
#2D3B7E
accent
#5AEA3D
background
#FFFEFB
surface
#FEFAF1
border
#D6D3CB
text
#171309
muted
#85837D

Preview Lab

Preview with #D7BB30

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

Preview Lab → · Contrast checker → · Palette generator →

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