#D3B52E#D3B52E

#D3B52E is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.7% C 0.147 H 95.7°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#D3B52E
RGBrgb(211, 181, 46)
HSLhsl(49, 65%, 50%)
HSVhsv(49, 78%, 83%)
CMYKcmyk(0%, 14.2%, 78.2%, 17.3%)
CIE-LABlab(74.25, -2.57, 67.33)
CIE-LCHlch(74.25, 67.38, 92.18°)
OKLaboklab(77.72% -0.0147 0.1463)
OKLCHoklch(77.72% 0.147 95.7)
XYZxyz(43.8834, 47.0964, 9.3633)
Luminance0.4709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3B52E #2E4CD3
analogous
#D3622E #D3B52E #9ED32E
triadic
#D3B52E #2ED3B5 #B52ED3
tetradic
#D3B52E #2ED362 #2E4CD3 #D32E9E
square
#D3B52E #2ED362 #2E4CD3 #D32E9E
split-complementary
#D3B52E #2E9ED3 #622ED3
monochromatic
#6F5F17 #A28B22 #D3B52E #DEC761 #E8D993

Accessibility & contrast

On white

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

On black

10.42
#D3B52E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3B52E
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3B52E#FFFFFF#000000##000000
##D3B52E1.002.0210.4210.42
#FFFFFF2.021.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B10D
Deuteranopia (green-blind)
#D0BB37
Tritanopia (blue-blind)
#E4A69C
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d3b52e;
/* rgb */ color: rgb(211, 181, 46);
/* oklch */ color: oklch(77.7% 0.147 95.7);
Tailwind
colors: {
  custom: {
    50: '#e5ca72',
    500: '#d3b52e',
    950: '#000000',
  },
}
SCSS
$custom: #d3b52e;
$custom-light: #e5ca72;
$custom-dark: #000000;
JSON
{
  "hex": "#d3b52e",
  "rgb": {
    "r": 211,
    "g": 181,
    "b": 46
  },
  "hsl": {
    "h": 49.091,
    "s": 65.217,
    "l": 50.392
  },
  "oklch": {
    "l": 0.77722,
    "c": 0.14706,
    "h": 95.7
  },
  "luminance": 0.47094
}

Semantic roles & 50–950 ramp

primary
#D3B52E
secondary
#8A97D3
accent
#5EE840
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #D3B52E

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

Preview Lab → · Contrast checker → · Palette generator →

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