#D5BE3C#D5BE3C

#D5BE3C is a light, vivid yellow. Relative luminance 0.513; OKLCH L 79.9% C 0.146 H 98.9°. Best body text is #000000 at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#D5BE3C
RGBrgb(213, 190, 60)
HSLhsl(51, 65%, 54%)
HSVhsv(51, 72%, 84%)
CMYKcmyk(0%, 10.8%, 71.8%, 16.5%)
CIE-LABlab(76.86, -5.80, 64.97)
CIE-LCHlch(76.86, 65.23, 95.10°)
OKLaboklab(79.86% -0.0225 0.1439)
OKLCHoklch(79.86% 0.146 98.9)
XYZxyz(46.6719, 51.3016, 11.7179)
Luminance0.5130 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5BE3C #3C53D5
analogous
#D5713C #D5BE3C #A0D53C
triadic
#D5BE3C #3CD5BE #BE3CD5
tetradic
#D5BE3C #3CD571 #3C53D5 #D53CA0
square
#D5BE3C #3CD571 #3C53D5 #D53CA0
split-complementary
#D5BE3C #3CA0D5 #713CD5
monochromatic
#7C6D1B #AE9A26 #D5BE3C #E0CF6E #EBE0A1

Accessibility & contrast

On white

1.87
#D5BE3C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.26
#D5BE3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5BE3C
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5BE3C#FFFFFF#000000##000000
##D5BE3C1.001.8711.2611.26
#FFFFFF1.871.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B927
Deuteranopia (green-blind)
#D7C144
Tritanopia (blue-blind)
#E6B0A4
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d5be3c;
/* rgb */ color: rgb(213, 190, 60);
/* oklch */ color: oklch(79.9% 0.146 98.9);
Tailwind
colors: {
  custom: {
    50: '#e6d17a',
    500: '#d5be3c',
    950: '#000000',
  },
}
SCSS
$custom: #d5be3c;
$custom-light: #e6d17a;
$custom-dark: #000000;
JSON
{
  "hex": "#d5be3c",
  "rgb": {
    "r": 213,
    "g": 190,
    "b": 60
  },
  "hsl": {
    "h": 50.98,
    "s": 64.557,
    "l": 53.529
  },
  "oklch": {
    "l": 0.79858,
    "c": 0.14569,
    "h": 98.9
  },
  "luminance": 0.51299
}

Semantic roles & 50–950 ramp

primary
#D5BE3C
secondary
#323E84
accent
#59E840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D5BE3C

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

Preview Lab → · Contrast checker → · Palette generator →

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