#D7B93F#D7B93F

#D7B93F is a light, vivid yellow. Relative luminance 0.495; OKLCH L 79.0% C 0.140 H 94.9°. Best body text is #000000 at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#D7B93F
RGBrgb(215, 185, 63)
HSLhsl(48, 66%, 55%)
HSVhsv(48, 71%, 84%)
CMYKcmyk(0%, 14%, 70.7%, 15.7%)
CIE-LABlab(75.77, -2.20, 62.81)
CIE-LCHlch(75.77, 62.85, 92.01°)
OKLaboklab(79.04% -0.0121 0.1398)
OKLCHoklch(79.04% 0.14 94.9)
XYZxyz(46.2729, 49.5064, 11.8201)
Luminance0.4950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B93F #3F5DD7
analogous
#D76D3F #D7B93F #A9D73F
triadic
#D7B93F #3FD7B9 #B93FD7
tetradic
#D7B93F #3FD76D #3F5DD7 #D73FA9
square
#D7B93F #3FD76D #3F5DD7 #D73FA9
split-complementary
#D7B93F #3FA9D7 #6D3FD7
monochromatic
#816D1B #B39725 #D7B93F #E2CB72 #ECDEA4

Accessibility & contrast

On white

1.93
#D7B93F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.90
#D7B93F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7B93F
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7B93F#FFFFFF#000000##000000
##D7B93F1.001.9310.9010.90
#FFFFFF1.931.0021.0021.00
#00000010.9021.001.001.00
##00000010.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB52D
Deuteranopia (green-blind)
#D4BF46
Tritanopia (blue-blind)
#E8ABA0
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d7b93f;
/* rgb */ color: rgb(215, 185, 63);
/* oklch */ color: oklch(79.0% 0.140 94.9);
Tailwind
colors: {
  custom: {
    50: '#e7cd7b',
    500: '#d7b93f',
    950: '#000000',
  },
}
SCSS
$custom: #d7b93f;
$custom-light: #e7cd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b93f",
  "rgb": {
    "r": 215,
    "g": 185,
    "b": 63
  },
  "hsl": {
    "h": 48.158,
    "s": 65.517,
    "l": 54.51
  },
  "oklch": {
    "l": 0.79039,
    "c": 0.14034,
    "h": 94.9
  },
  "luminance": 0.49504
}

Semantic roles & 50–950 ramp

primary
#D7B93F
secondary
#99A5D9
accent
#61E83F
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #D7B93F

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

Preview Lab → · Contrast checker → · Palette generator →

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