#D7BE3F#D7BE3F

#D7BE3F is a light, vivid yellow. Relative luminance 0.516; OKLCH L 80.1% C 0.144 H 97.8°. Best body text is #000000 at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#D7BE3F
RGBrgb(215, 190, 63)
HSLhsl(50, 66%, 55%)
HSVhsv(50, 71%, 84%)
CMYKcmyk(0%, 11.6%, 70.7%, 15.7%)
CIE-LABlab(77.06, -4.80, 64.10)
CIE-LCHlch(77.06, 64.28, 94.28°)
OKLaboklab(80.07% -0.0195 0.1426)
OKLCHoklch(80.07% 0.144 97.8)
XYZxyz(47.3373, 51.6352, 12.1749)
Luminance0.5163 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BE3F #3F58D7
analogous
#D7723F #D7BE3F #A4D73F
triadic
#D7BE3F #3FD7BE #BE3FD7
tetradic
#D7BE3F #3FD772 #3F58D7 #D73FA4
square
#D7BE3F #3FD772 #3F58D7 #D73FA4
split-complementary
#D7BE3F #3FA4D7 #723FD7
monochromatic
#81701B #B39C25 #D7BE3F #E2CF72 #ECE0A4

Accessibility & contrast

On white

1.85
#D7BE3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.33
#D7BE3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BE3F
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BE3F#FFFFFF#000000##000000
##D7BE3F1.001.8511.3311.33
#FFFFFF1.851.0021.0021.00
#00000011.3321.001.001.00
##00000011.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B92C
Deuteranopia (green-blind)
#D7C247
Tritanopia (blue-blind)
#E8B0A5
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d7be3f;
/* rgb */ color: rgb(215, 190, 63);
/* oklch */ color: oklch(80.1% 0.144 97.8);
Tailwind
colors: {
  custom: {
    50: '#e7d17c',
    500: '#d7be3f',
    950: '#000000',
  },
}
SCSS
$custom: #d7be3f;
$custom-light: #e7d17c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7be3f",
  "rgb": {
    "r": 215,
    "g": 190,
    "b": 63
  },
  "hsl": {
    "h": 50.132,
    "s": 65.517,
    "l": 54.51
  },
  "oklch": {
    "l": 0.80066,
    "c": 0.14388,
    "h": 97.8
  },
  "luminance": 0.51633
}

Semantic roles & 50–950 ramp

primary
#D7BE3F
secondary
#324088
accent
#5BE83F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #D7BE3F

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

Preview Lab → · Contrast checker → · Palette generator →

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