#D3B72E#D3B72E

#D3B72E is a light, vivid yellow. Relative luminance 0.479; OKLCH L 78.1% C 0.148 H 96.8°. Best body text is #000000 at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#D3B72E
RGBrgb(211, 183, 46)
HSLhsl(50, 65%, 50%)
HSVhsv(50, 78%, 83%)
CMYKcmyk(0%, 13.3%, 78.2%, 17.3%)
CIE-LABlab(74.77, -3.61, 67.80)
CIE-LCHlch(74.77, 67.89, 93.05°)
OKLaboklab(78.13% -0.0176 0.1473)
OKLCHoklch(78.13% 0.148 96.8)
XYZxyz(44.2930, 47.9155, 9.4999)
Luminance0.4791 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3B72E #2E4AD3
analogous
#D3642E #D3B72E #9DD32E
triadic
#D3B72E #2ED3B7 #B72ED3
tetradic
#D3B72E #2ED364 #2E4AD3 #D32E9D
square
#D3B72E #2ED364 #2E4AD3 #D32E9D
split-complementary
#D3B72E #2E9DD3 #642ED3
monochromatic
#6F6017 #A28C22 #D3B72E #DEC861 #E8DA93

Accessibility & contrast

On white

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

On black

10.58
#D3B72E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3B72E
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3B72E#FFFFFF#000000##000000
##D3B72E1.001.9810.5810.58
#FFFFFF1.981.0021.0021.00
#00000010.5821.001.001.00
##00000010.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB30B
Deuteranopia (green-blind)
#D1BC38
Tritanopia (blue-blind)
#E4A89D
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d3b72e;
/* rgb */ color: rgb(211, 183, 46);
/* oklch */ color: oklch(78.1% 0.148 96.8);
Tailwind
colors: {
  custom: {
    50: '#e5cc72',
    500: '#d3b72e',
    950: '#000000',
  },
}
SCSS
$custom: #d3b72e;
$custom-light: #e5cc72;
$custom-dark: #000000;
JSON
{
  "hex": "#d3b72e",
  "rgb": {
    "r": 211,
    "g": 183,
    "b": 46
  },
  "hsl": {
    "h": 49.818,
    "s": 65.217,
    "l": 50.392
  },
  "oklch": {
    "l": 0.78134,
    "c": 0.14839,
    "h": 96.8
  },
  "luminance": 0.47913
}

Semantic roles & 50–950 ramp

primary
#D3B72E
secondary
#8A96D3
accent
#5CE840
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #D3B72E

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

Preview Lab → · Contrast checker → · Palette generator →

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