#D2B452#D2B452

#D2B452 is a light, vivid yellow. Relative luminance 0.470; OKLCH L 77.7% C 0.122 H 92.3°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#D2B452
RGBrgb(210, 180, 82)
HSLhsl(46, 59%, 57%)
HSVhsv(46, 61%, 82%)
CMYKcmyk(0%, 14.3%, 61%, 17.6%)
CIE-LABlab(74.16, -0.60, 52.84)
CIE-LCHlch(74.16, 52.84, 90.65°)
OKLaboklab(77.71% -0.0049 0.1218)
OKLCHoklch(77.71% 0.122 92.3)
XYZxyz(44.4246, 46.9557, 14.7044)
Luminance0.4695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B452 #5270D2
analogous
#D27452 #D2B452 #B0D252
triadic
#D2B452 #52D2B4 #B452D2
tetradic
#D2B452 #52D274 #5270D2 #D252B0
square
#D2B452 #52D274 #5270D2 #D252B0
split-complementary
#D2B452 #52B0D2 #7452D2
monochromatic
#876F23 #B79730 #D2B452 #DFC983 #EBDEB3

Accessibility & contrast

On white

2.02
#D2B452 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.39
#D2B452 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B452
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B452#FFFFFF#000000##000000
##D2B4521.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B148
Deuteranopia (green-blind)
#CDBA56
Tritanopia (blue-blind)
#E2A79E
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d2b452;
/* rgb */ color: rgb(210, 180, 82);
/* oklch */ color: oklch(77.7% 0.122 92.3);
Tailwind
colors: {
  custom: {
    50: '#e3ca86',
    500: '#d2b452',
    950: '#000000',
  },
}
SCSS
$custom: #d2b452;
$custom-light: #e3ca86;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b452",
  "rgb": {
    "r": 210,
    "g": 180,
    "b": 82
  },
  "hsl": {
    "h": 45.938,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.77713,
    "c": 0.1219,
    "h": 92.3
  },
  "luminance": 0.46953
}

Semantic roles & 50–950 ramp

primary
#D2B452
secondary
#A6B2DA
accent
#6AE246
background
#FEFCF8
surface
#FDF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #D2B452

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

Preview Lab → · Contrast checker → · Palette generator →

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