#D3B23F#D3B23F

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

Color values

HEX#D3B23F
RGBrgb(211, 178, 63)
HSLhsl(47, 63%, 54%)
HSVhsv(47, 70%, 83%)
CMYKcmyk(0%, 15.6%, 70.1%, 17.3%)
CIE-LABlab(73.58, -0.25, 60.49)
CIE-LCHlch(73.58, 60.49, 90.24°)
OKLaboklab(77.22% -0.0063 0.1351)
OKLCHoklch(77.22% 0.135 92.7)
XYZxyz(43.6839, 46.0511, 11.2895)
Luminance0.4605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3B23F #3F60D3
analogous
#D3683F #D3B23F #AAD33F
triadic
#D3B23F #3FD3B2 #B23FD3
tetradic
#D3B23F #3FD368 #3F60D3 #D33FAA
square
#D3B23F #3FD368 #3F60D3 #D33FAA
split-complementary
#D3B23F #3FAAD3 #683FD3
monochromatic
#7B661C #AD8F28 #D3B23F #DEC671 #EADAA3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3B23F#FFFFFF#000000##000000
##D3B23F1.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)
#C5AF2F
Deuteranopia (green-blind)
#CDB945
Tritanopia (blue-blind)
#E4A49B
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d3b23f;
/* rgb */ color: rgb(211, 178, 63);
/* oklch */ color: oklch(77.2% 0.135 92.7);
Tailwind
colors: {
  custom: {
    50: '#e4c87b',
    500: '#d3b23f',
    950: '#000000',
  },
}
SCSS
$custom: #d3b23f;
$custom-light: #e4c87b;
$custom-dark: #000000;
JSON
{
  "hex": "#d3b23f",
  "rgb": {
    "r": 211,
    "g": 178,
    "b": 63
  },
  "hsl": {
    "h": 46.622,
    "s": 62.712,
    "l": 53.725
  },
  "oklch": {
    "l": 0.77223,
    "c": 0.1352,
    "h": 92.7
  },
  "luminance": 0.46049
}

Semantic roles & 50–950 ramp

primary
#D3B23F
secondary
#97A5D7
accent
#67E642
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D3B23F

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

Preview Lab → · Contrast checker → · Palette generator →

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