#D7B33D#D7B33D

#D7B33D is a light, vivid yellow. Relative luminance 0.470; OKLCH L 77.8% C 0.138 H 91.5°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#D7B33D
RGBrgb(215, 179, 61)
HSLhsl(46, 66%, 54%)
HSVhsv(46, 72%, 84%)
CMYKcmyk(0%, 16.7%, 71.6%, 15.7%)
CIE-LABlab(74.21, 0.84, 62.04)
CIE-LCHlch(74.21, 62.05, 89.22°)
OKLaboklab(77.8% -0.0036 0.1378)
OKLCHoklch(77.8% 0.138 91.5)
XYZxyz(44.9892, 47.0269, 11.1214)
Luminance0.4702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B33D #3D61D7
analogous
#D7663D #D7B33D #AED73D
triadic
#D7B33D #3DD7B3 #B33DD7
tetradic
#D7B33D #3DD766 #3D61D7 #D73DAE
square
#D7B33D #3DD766 #3D61D7 #D73DAE
split-complementary
#D7B33D #3DAED7 #663DD7
monochromatic
#7F681A #B29125 #D7B33D #E1C770 #ECDBA2

Accessibility & contrast

On white

2.02
#D7B33D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.40
#D7B33D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7B33D
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7B33D#FFFFFF#000000##000000
##D7B33D1.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B02C
Deuteranopia (green-blind)
#CFBB43
Tritanopia (blue-blind)
#E8A49B
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d7b33d;
/* rgb */ color: rgb(215, 179, 61);
/* oklch */ color: oklch(77.8% 0.138 91.5);
Tailwind
colors: {
  custom: {
    50: '#e7c97a',
    500: '#d7b33d',
    950: '#000000',
  },
}
SCSS
$custom: #d7b33d;
$custom-light: #e7c97a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b33d",
  "rgb": {
    "r": 215,
    "g": 179,
    "b": 61
  },
  "hsl": {
    "h": 45.974,
    "s": 65.812,
    "l": 54.118
  },
  "oklch": {
    "l": 0.77804,
    "c": 0.13787,
    "h": 91.5
  },
  "luminance": 0.47024
}

Semantic roles & 50–950 ramp

primary
#D7B33D
secondary
#97A6D9
accent
#67E93F
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #D7B33D

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

Preview Lab → · Contrast checker → · Palette generator →

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