#D3C33B#D3C33B

#D3C33B is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.7% C 0.150 H 102.4°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#D3C33B
RGBrgb(211, 195, 59)
HSLhsl(54, 63%, 53%)
HSVhsv(54, 72%, 83%)
CMYKcmyk(0%, 7.6%, 72%, 17.3%)
CIE-LABlab(77.99, -9.27, 66.38)
CIE-LCHlch(77.99, 67.02, 97.95°)
OKLaboklab(80.71% -0.0324 0.1468)
OKLCHoklch(80.71% 0.15 102.4)
XYZxyz(47.1706, 53.1969, 11.9202)
Luminance0.5320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C33B #3B4BD3
analogous
#D3773B #D3C33B #97D33B
triadic
#D3C33B #3BD3C3 #C33BD3
tetradic
#D3C33B #3BD377 #3B4BD3 #D33B97
square
#D3C33B #3BD377 #3B4BD3 #D33B97
split-complementary
#D3C33B #3B97D3 #773BD3
monochromatic
#796F1B #AB9D26 #D3C33B #DED26D #E9E29F

Accessibility & contrast

On white

1.80
#D3C33B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.64
#D3C33B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C33B
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C33B#FFFFFF#000000##000000
##D3C33B1.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD24
Deuteranopia (green-blind)
#DAC444
Tritanopia (blue-blind)
#E3B5A8
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d3c33b;
/* rgb */ color: rgb(211, 195, 59);
/* oklch */ color: oklch(80.7% 0.150 102.4);
Tailwind
colors: {
  custom: {
    50: '#e4d47a',
    500: '#d3c33b',
    950: '#000000',
  },
}
SCSS
$custom: #d3c33b;
$custom-light: #e4d47a;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c33b",
  "rgb": {
    "r": 211,
    "g": 195,
    "b": 59
  },
  "hsl": {
    "h": 53.684,
    "s": 63.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.8071,
    "c": 0.15032,
    "h": 102.4
  },
  "luminance": 0.53195
}

Semantic roles & 50–950 ramp

primary
#D3C33B
secondary
#323A81
accent
#53E641
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D3C33B

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

Preview Lab → · Contrast checker → · Palette generator →

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