#D3B23E#D3B23E

#D3B23E is a light, vivid yellow. Relative luminance 0.460; OKLCH L 77.2% C 0.136 H 92.8°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#D3B23E
RGBrgb(211, 178, 62)
HSLhsl(47, 63%, 54%)
HSVhsv(47, 71%, 83%)
CMYKcmyk(0%, 15.6%, 70.6%, 17.3%)
CIE-LABlab(73.57, -0.30, 60.88)
CIE-LCHlch(73.57, 60.88, 90.29°)
OKLaboklab(77.22% -0.0065 0.1357)
OKLCHoklch(77.22% 0.136 92.8)
XYZxyz(43.6562, 46.0400, 11.1437)
Luminance0.4604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3B23E #3E5FD3
analogous
#D3673E #D3B23E #AAD33E
triadic
#D3B23E #3ED3B2 #B23ED3
tetradic
#D3B23E #3ED367 #3E5FD3 #D33EAA
square
#D3B23E #3ED367 #3E5FD3 #D33EAA
split-complementary
#D3B23E #3EAAD3 #673ED3
monochromatic
#7B661C #AC8F27 #D3B23E #DEC670 #EADAA2

Accessibility & contrast

On white

2.06
#D3B23E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.21
#D3B23E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3B23E
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3B23E#FFFFFF#000000##000000
##D3B23E1.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF2D
Deuteranopia (green-blind)
#CDB944
Tritanopia (blue-blind)
#E4A49B
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d3b23e;
/* rgb */ color: rgb(211, 178, 62);
/* oklch */ color: oklch(77.2% 0.136 92.8);
Tailwind
colors: {
  custom: {
    50: '#e4c87a',
    500: '#d3b23e',
    950: '#000000',
  },
}
SCSS
$custom: #d3b23e;
$custom-light: #e4c87a;
$custom-dark: #000000;
JSON
{
  "hex": "#d3b23e",
  "rgb": {
    "r": 211,
    "g": 178,
    "b": 62
  },
  "hsl": {
    "h": 46.711,
    "s": 62.869,
    "l": 53.529
  },
  "oklch": {
    "l": 0.77215,
    "c": 0.13586,
    "h": 92.8
  },
  "luminance": 0.46037
}

Semantic roles & 50–950 ramp

primary
#D3B23E
secondary
#96A5D6
accent
#66E642
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D3B23E

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

Preview Lab → · Contrast checker → · Palette generator →

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