#D4B652#D4B652

#D4B652 is a light, vivid yellow. Relative luminance 0.481; OKLCH L 78.3% C 0.124 H 92.6°. Best body text is #000000 at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#D4B652
RGBrgb(212, 182, 82)
HSLhsl(46, 60%, 58%)
HSVhsv(46, 61%, 83%)
CMYKcmyk(0%, 14.2%, 61.3%, 16.9%)
CIE-LABlab(74.87, -0.80, 53.68)
CIE-LCHlch(74.87, 53.68, 90.85°)
OKLaboklab(78.31% -0.0057 0.1235)
OKLCHoklch(78.31% 0.124 92.6)
XYZxyz(45.4044, 48.0645, 14.8668)
Luminance0.4806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B652 #5270D4
analogous
#D47552 #D4B652 #B1D452
triadic
#D4B652 #52D4B6 #B652D4
tetradic
#D4B652 #52D475 #5270D4 #D452B1
square
#D4B652 #52D475 #5270D4 #D452B1
split-complementary
#D4B652 #52B1D4 #7552D4
monochromatic
#897222 #BA9A2E #D4B652 #E0CB83 #ECDFB4

Accessibility & contrast

On white

1.98
#D4B652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.61
#D4B652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B652
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B652#FFFFFF#000000##000000
##D4B6521.001.9810.6110.61
#FFFFFF1.981.0021.0021.00
#00000010.6121.001.001.00
##00000010.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4b652;
/* rgb */ color: rgb(212, 182, 82);
/* oklch */ color: oklch(78.3% 0.124 92.6);
Tailwind
colors: {
  custom: {
    50: '#e4cb86',
    500: '#d4b652',
    950: '#000000',
  },
}
SCSS
$custom: #d4b652;
$custom-light: #e4cb86;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b652",
  "rgb": {
    "r": 212,
    "g": 182,
    "b": 82
  },
  "hsl": {
    "h": 46.154,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.78313,
    "c": 0.12367,
    "h": 92.6
  },
  "luminance": 0.48062
}

Semantic roles & 50–950 ramp

primary
#D4B652
secondary
#A7B3DB
accent
#69E344
background
#FEFCF8
surface
#FDF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #D4B652

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

Preview Lab → · Contrast checker → · Palette generator →

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