#D4B452#D4B452

#D4B452 is a light, vivid yellow. Relative luminance 0.472; OKLCH L 77.9% C 0.122 H 91.2°. Best body text is #000000 at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#D4B452
RGBrgb(212, 180, 82)
HSLhsl(45, 60%, 58%)
HSVhsv(45, 61%, 83%)
CMYKcmyk(0%, 15.1%, 61.3%, 16.9%)
CIE-LABlab(74.35, 0.25, 53.10)
CIE-LCHlch(74.35, 53.10, 89.73°)
OKLaboklab(77.91% -0.0026 0.1223)
OKLCHoklch(77.91% 0.122 91.2)
XYZxyz(44.9977, 47.2512, 14.7313)
Luminance0.4725 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B452 #5272D4
analogous
#D47352 #D4B452 #B3D452
triadic
#D4B452 #52D4B4 #B452D4
tetradic
#D4B452 #52D473 #5272D4 #D452B3
square
#D4B452 #52D473 #5272D4 #D452B3
split-complementary
#D4B452 #52B3D4 #7352D4
monochromatic
#897022 #BA982E #D4B452 #E0C983 #ECDFB4

Accessibility & contrast

On white

2.01
#D4B452 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.45
#D4B452 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B452
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B452#FFFFFF#000000##000000
##D4B4521.002.0110.4510.45
#FFFFFF2.011.0021.0021.00
#00000010.4521.001.001.00
##00000010.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B248
Deuteranopia (green-blind)
#CEBB56
Tritanopia (blue-blind)
#E4A79F
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d4b452;
/* rgb */ color: rgb(212, 180, 82);
/* oklch */ color: oklch(77.9% 0.122 91.2);
Tailwind
colors: {
  custom: {
    50: '#e4ca86',
    500: '#d4b452',
    950: '#000000',
  },
}
SCSS
$custom: #d4b452;
$custom-light: #e4ca86;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b452",
  "rgb": {
    "r": 212,
    "g": 180,
    "b": 82
  },
  "hsl": {
    "h": 45.231,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.77906,
    "c": 0.12234,
    "h": 91.2
  },
  "luminance": 0.47249
}

Semantic roles & 50–950 ramp

primary
#D4B452
secondary
#A7B4DB
accent
#6CE344
background
#FEFCF8
surface
#FDF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #D4B452

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

Preview Lab → · Contrast checker → · Palette generator →

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