#D7B83F#D7B83F

#D7B83F is a light, vivid yellow. Relative luminance 0.491; OKLCH L 78.8% C 0.140 H 94.4°. Best body text is #000000 at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#D7B83F
RGBrgb(215, 184, 63)
HSLhsl(48, 66%, 55%)
HSVhsv(48, 71%, 84%)
CMYKcmyk(0%, 14.4%, 70.7%, 15.7%)
CIE-LABlab(75.51, -1.68, 62.55)
CIE-LCHlch(75.51, 62.57, 91.54°)
OKLaboklab(78.83% -0.0106 0.1393)
OKLCHoklch(78.83% 0.14 94.4)
XYZxyz(46.0644, 49.0895, 11.7506)
Luminance0.4909 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B83F #3F5ED7
analogous
#D76C3F #D7B83F #AAD73F
triadic
#D7B83F #3FD7B8 #B83FD7
tetradic
#D7B83F #3FD76C #3F5ED7 #D73FAA
square
#D7B83F #3FD76C #3F5ED7 #D73FAA
split-complementary
#D7B83F #3FAAD7 #6C3FD7
monochromatic
#816C1B #B39625 #D7B83F #E2CB72 #ECDDA4

Accessibility & contrast

On white

1.94
#D7B83F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.82
#D7B83F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7B83F
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7B83F#FFFFFF#000000##000000
##D7B83F1.001.9410.8210.82
#FFFFFF1.941.0021.0021.00
#00000010.8221.001.001.00
##00000010.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB52D
Deuteranopia (green-blind)
#D3BE46
Tritanopia (blue-blind)
#E8AAA0
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d7b83f;
/* rgb */ color: rgb(215, 184, 63);
/* oklch */ color: oklch(78.8% 0.140 94.4);
Tailwind
colors: {
  custom: {
    50: '#e7cc7b',
    500: '#d7b83f',
    950: '#000000',
  },
}
SCSS
$custom: #d7b83f;
$custom-light: #e7cc7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b83f",
  "rgb": {
    "r": 215,
    "g": 184,
    "b": 63
  },
  "hsl": {
    "h": 47.763,
    "s": 65.517,
    "l": 54.51
  },
  "oklch": {
    "l": 0.78835,
    "c": 0.13967,
    "h": 94.4
  },
  "luminance": 0.49087
}

Semantic roles & 50–950 ramp

primary
#D7B83F
secondary
#99A6D9
accent
#62E83F
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #D7B83F

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

Preview Lab → · Contrast checker → · Palette generator →

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