#D5B246#D5B246

#D5B246 is a light, vivid yellow. Relative luminance 0.464; OKLCH L 77.5% C 0.131 H 90.9°. Best body text is #000000 at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#D5B246
RGBrgb(213, 178, 70)
HSLhsl(45, 63%, 55%)
HSVhsv(45, 67%, 84%)
CMYKcmyk(0%, 16.4%, 67.1%, 16.5%)
CIE-LABlab(73.82, 0.98, 57.89)
CIE-LCHlch(73.82, 57.90, 89.03°)
OKLaboklab(77.48% -0.002 0.1307)
OKLCHoklch(77.48% 0.131 90.9)
XYZxyz(44.4688, 46.4317, 12.4131)
Luminance0.4643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B246 #4669D5
analogous
#D56A46 #D5B246 #B0D546
triadic
#D5B246 #46D5B2 #B246D5
tetradic
#D5B246 #46D56A #4669D5 #D546B0
square
#D5B246 #46D56A #4669D5 #D546B0
split-complementary
#D5B246 #46B0D5 #6A46D5
monochromatic
#836A1E #B59329 #D5B246 #E0C778 #ECDCAA

Accessibility & contrast

On white

2.04
#D5B246 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.29
#D5B246 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B246
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B246#FFFFFF#000000##000000
##D5B2461.002.0410.2910.29
#FFFFFF2.041.0021.0021.00
#00000010.2921.001.001.00
##00000010.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B039
Deuteranopia (green-blind)
#CDBA4B
Tritanopia (blue-blind)
#E6A49B
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d5b246;
/* rgb */ color: rgb(213, 178, 70);
/* oklch */ color: oklch(77.5% 0.131 90.9);
Tailwind
colors: {
  custom: {
    50: '#e6c87f',
    500: '#d5b246',
    950: '#000000',
  },
}
SCSS
$custom: #d5b246;
$custom-light: #e6c87f;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b246",
  "rgb": {
    "r": 213,
    "g": 178,
    "b": 70
  },
  "hsl": {
    "h": 45.315,
    "s": 62.996,
    "l": 55.49
  },
  "oklch": {
    "l": 0.77479,
    "c": 0.13071,
    "h": 90.9
  },
  "luminance": 0.46429
}

Semantic roles & 50–950 ramp

primary
#D5B246
secondary
#9EACD9
accent
#6AE642
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D5B246

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

Preview Lab → · Contrast checker → · Palette generator →

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