#D5B652#D5B652

#D5B652 is a light, vivid yellow. Relative luminance 0.482; OKLCH L 78.4% C 0.124 H 92.1°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#D5B652
RGBrgb(213, 182, 82)
HSLhsl(46, 61%, 58%)
HSVhsv(46, 62%, 84%)
CMYKcmyk(0%, 14.6%, 61.5%, 16.5%)
CIE-LABlab(74.96, -0.38, 53.81)
CIE-LCHlch(74.96, 53.81, 90.40°)
OKLaboklab(78.41% -0.0045 0.1238)
OKLCHoklch(78.41% 0.124 92.1)
XYZxyz(45.6936, 48.2136, 14.8804)
Luminance0.4821 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B652 #5271D5
analogous
#D57552 #D5B652 #B2D552
triadic
#D5B652 #52D5B6 #B652D5
tetradic
#D5B652 #52D575 #5271D5 #D552B2
square
#D5B652 #52D575 #5271D5 #D552B2
split-complementary
#D5B652 #52B2D5 #7552D5
monochromatic
#8B7222 #BC9A2E #D5B652 #E1CB83 #EDE0B4

Accessibility & contrast

On white

1.97
#D5B652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.64
#D5B652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B652
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B652#FFFFFF#000000##000000
##D5B6521.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B347
Deuteranopia (green-blind)
#D0BC56
Tritanopia (blue-blind)
#E5A9A0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d5b652;
/* rgb */ color: rgb(213, 182, 82);
/* oklch */ color: oklch(78.4% 0.124 92.1);
Tailwind
colors: {
  custom: {
    50: '#e5cb86',
    500: '#d5b652',
    950: '#000000',
  },
}
SCSS
$custom: #d5b652;
$custom-light: #e5cb86;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b652",
  "rgb": {
    "r": 213,
    "g": 182,
    "b": 82
  },
  "hsl": {
    "h": 45.802,
    "s": 60.93,
    "l": 57.843
  },
  "oklch": {
    "l": 0.78409,
    "c": 0.12387,
    "h": 92.1
  },
  "luminance": 0.48211
}

Semantic roles & 50–950 ramp

primary
#D5B652
secondary
#A7B4DC
accent
#6AE444
background
#FEFCF8
surface
#FDF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #D5B652

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

Preview Lab → · Contrast checker → · Palette generator →

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