#D3B339#D3B339

#D3B339 is a light, vivid yellow. Relative luminance 0.464; OKLCH L 77.4% C 0.140 H 93.8°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#D3B339
RGBrgb(211, 179, 57)
HSLhsl(48, 64%, 53%)
HSVhsv(48, 73%, 83%)
CMYKcmyk(0%, 15.2%, 73%, 17.3%)
CIE-LABlab(73.80, -1.07, 63.05)
CIE-LCHlch(73.80, 63.05, 90.97°)
OKLaboklab(77.38% -0.0093 0.1394)
OKLCHoklch(77.38% 0.14 93.8)
XYZxyz(43.7249, 46.3870, 10.5206)
Luminance0.4638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3B339 #3959D3
analogous
#D36639 #D3B339 #A6D339
triadic
#D3B339 #39D3B3 #B339D3
tetradic
#D3B339 #39D366 #3959D3 #D339A6
square
#D3B339 #39D366 #3959D3 #D339A6
split-complementary
#D3B339 #39A6D3 #6639D3
monochromatic
#77641A #A98E26 #D3B339 #DEC66B #E9D99D

Accessibility & contrast

On white

2.04
#D3B339 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.28
#D3B339 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3B339
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3B339#FFFFFF#000000##000000
##D3B3391.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B025
Deuteranopia (green-blind)
#CEB940
Tritanopia (blue-blind)
#E4A59B
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d3b339;
/* rgb */ color: rgb(211, 179, 57);
/* oklch */ color: oklch(77.4% 0.140 93.8);
Tailwind
colors: {
  custom: {
    50: '#e5c977',
    500: '#d3b339',
    950: '#000000',
  },
}
SCSS
$custom: #d3b339;
$custom-light: #e5c977;
$custom-dark: #000000;
JSON
{
  "hex": "#d3b339",
  "rgb": {
    "r": 211,
    "g": 179,
    "b": 57
  },
  "hsl": {
    "h": 47.532,
    "s": 63.636,
    "l": 52.549
  },
  "oklch": {
    "l": 0.77382,
    "c": 0.13967,
    "h": 93.8
  },
  "luminance": 0.46384
}

Semantic roles & 50–950 ramp

primary
#D3B339
secondary
#92A0D5
accent
#64E741
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #D3B339

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

Preview Lab → · Contrast checker → · Palette generator →

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