#D3B12E#D3B12E

#D3B12E is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.9% C 0.145 H 93.5°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#D3B12E
RGBrgb(211, 177, 46)
HSLhsl(48, 65%, 50%)
HSVhsv(48, 78%, 83%)
CMYKcmyk(0%, 16.1%, 78.2%, 17.3%)
CIE-LABlab(73.22, -0.47, 66.39)
CIE-LCHlch(73.22, 66.39, 90.40°)
OKLaboklab(76.9% -0.0087 0.1443)
OKLCHoklch(76.9% 0.145 93.5)
XYZxyz(43.0817, 45.4930, 9.0961)
Luminance0.4549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3B12E #2E50D3
analogous
#D35E2E #D3B12E #A3D32E
triadic
#D3B12E #2ED3B1 #B12ED3
tetradic
#D3B12E #2ED35E #2E50D3 #D32EA3
square
#D3B12E #2ED35E #2E50D3 #D32EA3
split-complementary
#D3B12E #2EA3D3 #5E2ED3
monochromatic
#6F5D17 #A28722 #D3B12E #DEC461 #E8D793

Accessibility & contrast

On white

2.08
#D3B12E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.10
#D3B12E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3B12E
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3B12E#FFFFFF#000000##000000
##D3B12E1.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE10
Deuteranopia (green-blind)
#CDB837
Tritanopia (blue-blind)
#E4A298
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d3b12e;
/* rgb */ color: rgb(211, 177, 46);
/* oklch */ color: oklch(76.9% 0.145 93.5);
Tailwind
colors: {
  custom: {
    50: '#e5c772',
    500: '#d3b12e',
    950: '#000000',
  },
}
SCSS
$custom: #d3b12e;
$custom-light: #e5c772;
$custom-dark: #000000;
JSON
{
  "hex": "#d3b12e",
  "rgb": {
    "r": 211,
    "g": 177,
    "b": 46
  },
  "hsl": {
    "h": 47.636,
    "s": 65.217,
    "l": 50.392
  },
  "oklch": {
    "l": 0.76903,
    "c": 0.14457,
    "h": 93.5
  },
  "luminance": 0.4549
}

Semantic roles & 50–950 ramp

primary
#D3B12E
secondary
#8A99D3
accent
#62E840
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#171308
muted
#85827B

Preview Lab

Preview with #D3B12E

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

Preview Lab → · Contrast checker → · Palette generator →

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