#D8BE3B#D8BE3B

#D8BE3B is a light, vivid yellow. Relative luminance 0.517; OKLCH L 80.1% C 0.146 H 97.6°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#D8BE3B
RGBrgb(216, 190, 59)
HSLhsl(50, 67%, 54%)
HSVhsv(50, 73%, 85%)
CMYKcmyk(0%, 12%, 72.7%, 15.3%)
CIE-LABlab(77.13, -4.56, 65.70)
CIE-LCHlch(77.13, 65.85, 93.97°)
OKLaboklab(80.13% -0.0193 0.1452)
OKLCHoklch(80.13% 0.146 97.6)
XYZxyz(47.5241, 51.7440, 11.6212)
Luminance0.5174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BE3B #3B55D8
analogous
#D8703B #D8BE3B #A4D83B
triadic
#D8BE3B #3BD8BE #BE3BD8
tetradic
#D8BE3B #3BD870 #3B55D8 #D83BA4
square
#D8BE3B #3BD870 #3B55D8 #D83BA4
split-complementary
#D8BE3B #3BA4D8 #703BD8
monochromatic
#7F6E19 #B29B23 #D8BE3B #E2CF6E #ECE0A1

Accessibility & contrast

On white

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

On black

11.35
#D8BE3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BE3B
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BE3B#FFFFFF#000000##000000
##D8BE3B1.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B925
Deuteranopia (green-blind)
#D8C243
Tritanopia (blue-blind)
#E9B0A4
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d8be3b;
/* rgb */ color: rgb(216, 190, 59);
/* oklch */ color: oklch(80.1% 0.146 97.6);
Tailwind
colors: {
  custom: {
    50: '#e8d17a',
    500: '#d8be3b',
    950: '#000000',
  },
}
SCSS
$custom: #d8be3b;
$custom-light: #e8d17a;
$custom-dark: #000000;
JSON
{
  "hex": "#d8be3b",
  "rgb": {
    "r": 216,
    "g": 190,
    "b": 59
  },
  "hsl": {
    "h": 50.064,
    "s": 66.809,
    "l": 53.922
  },
  "oklch": {
    "l": 0.80131,
    "c": 0.14644,
    "h": 97.6
  },
  "luminance": 0.51742
}

Semantic roles & 50–950 ramp

primary
#D8BE3B
secondary
#313F86
accent
#5BEA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #D8BE3B

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

Preview Lab → · Contrast checker → · Palette generator →

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