#D7BF3F#D7BF3F

#D7BF3F is a light, vivid yellow. Relative luminance 0.521; OKLCH L 80.3% C 0.145 H 98.3°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#D7BF3F
RGBrgb(215, 191, 63)
HSLhsl(51, 66%, 55%)
HSVhsv(51, 71%, 84%)
CMYKcmyk(0%, 11.2%, 70.7%, 15.7%)
CIE-LABlab(77.32, -5.32, 64.36)
CIE-LCHlch(77.32, 64.58, 94.72°)
OKLaboklab(80.27% -0.021 0.1431)
OKLCHoklch(80.27% 0.145 98.3)
XYZxyz(47.5546, 52.0699, 12.2473)
Luminance0.5207 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BF3F #3F57D7
analogous
#D7733F #D7BF3F #A3D73F
triadic
#D7BF3F #3FD7BF #BF3FD7
tetradic
#D7BF3F #3FD773 #3F57D7 #D73FA3
square
#D7BF3F #3FD773 #3F57D7 #D73FA3
split-complementary
#D7BF3F #3FA3D7 #733FD7
monochromatic
#81711B #B39D25 #D7BF3F #E2D072 #ECE1A4

Accessibility & contrast

On white

1.84
#D7BF3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.41
#D7BF3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BF3F
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BF3F#FFFFFF#000000##000000
##D7BF3F1.001.8411.4111.41
#FFFFFF1.841.0021.0021.00
#00000011.4121.001.001.00
##00000011.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA2B
Deuteranopia (green-blind)
#D8C347
Tritanopia (blue-blind)
#E8B1A5
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d7bf3f;
/* rgb */ color: rgb(215, 191, 63);
/* oklch */ color: oklch(80.3% 0.145 98.3);
Tailwind
colors: {
  custom: {
    50: '#e7d17c',
    500: '#d7bf3f',
    950: '#000000',
  },
}
SCSS
$custom: #d7bf3f;
$custom-light: #e7d17c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bf3f",
  "rgb": {
    "r": 215,
    "g": 191,
    "b": 63
  },
  "hsl": {
    "h": 50.526,
    "s": 65.517,
    "l": 54.51
  },
  "oklch": {
    "l": 0.80272,
    "c": 0.14462,
    "h": 98.3
  },
  "luminance": 0.52068
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7BF3F

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

Preview Lab → · Contrast checker → · Palette generator →

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