#D3C738#D3C738

#D3C738 is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.5% C 0.155 H 104.4°. Best body text is #000000 at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#D3C738
RGBrgb(211, 199, 56)
HSLhsl(55, 64%, 52%)
HSVhsv(55, 73%, 83%)
CMYKcmyk(0%, 5.7%, 73.5%, 17.3%)
CIE-LABlab(79.03, -11.44, 68.43)
CIE-LCHlch(79.03, 69.38, 99.49°)
OKLaboklab(81.53% -0.0388 0.1506)
OKLCHoklch(81.53% 0.156 104.4)
XYZxyz(48.0033, 54.9832, 11.8249)
Luminance0.5498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C738 #3844D3
analogous
#D37A38 #D3C738 #91D338
triadic
#D3C738 #38D3C7 #C738D3
tetradic
#D3C738 #38D37A #3844D3 #D33891
square
#D3C738 #38D37A #3844D3 #D33891
split-complementary
#D3C738 #3891D3 #7A38D3
monochromatic
#766F1A #A99E25 #D3C738 #DED56A #E9E39C

Accessibility & contrast

On white

1.75
#D3C738 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.00
#D3C738 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C738
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C738#FFFFFF#000000##000000
##D3C7381.001.7512.0012.00
#FFFFFF1.751.0021.0021.00
#00000012.0021.001.001.00
##00000012.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C01C
Deuteranopia (green-blind)
#DDC742
Tritanopia (blue-blind)
#E3B9AC
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d3c738;
/* rgb */ color: rgb(211, 199, 56);
/* oklch */ color: oklch(81.5% 0.155 104.4);
Tailwind
colors: {
  custom: {
    50: '#e4d779',
    500: '#d3c738',
    950: '#000000',
  },
}
SCSS
$custom: #d3c738;
$custom-light: #e4d779;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c738",
  "rgb": {
    "r": 211,
    "g": 199,
    "b": 56
  },
  "hsl": {
    "h": 55.355,
    "s": 63.786,
    "l": 52.353
  },
  "oklch": {
    "l": 0.81532,
    "c": 0.1555,
    "h": 104.4
  },
  "luminance": 0.54981
}

Semantic roles & 50–950 ramp

primary
#D3C738
secondary
#30377F
accent
#4EE741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D3C738

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

Preview Lab → · Contrast checker → · Palette generator →

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