#D3C241#D3C241

#D3C241 is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.5% C 0.146 H 101.7°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#D3C241
RGBrgb(211, 194, 65)
HSLhsl(53, 62%, 54%)
HSVhsv(53, 69%, 83%)
CMYKcmyk(0%, 8.1%, 69.2%, 17.3%)
CIE-LABlab(77.77, -8.46, 63.91)
CIE-LCHlch(77.77, 64.47, 97.54°)
OKLaboklab(80.54% -0.0295 0.1426)
OKLCHoklch(80.54% 0.146 101.7)
XYZxyz(47.1119, 52.8161, 12.7130)
Luminance0.5281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C241 #4152D3
analogous
#D37941 #D3C241 #9BD341
triadic
#D3C241 #41D3C2 #C241D3
tetradic
#D3C241 #41D379 #4152D3 #D3419B
square
#D3C241 #41D379 #4152D3 #D3419B
split-complementary
#D3C241 #419BD3 #7941D3
monochromatic
#7D721D #AE9F28 #D3C241 #DFD273 #EAE2A4

Accessibility & contrast

On white

1.82
#D3C241 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.56
#D3C241 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C241
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C241#FFFFFF#000000##000000
##D3C2411.001.8211.5611.56
#FFFFFF1.821.0021.0021.00
#00000011.5621.001.001.00
##00000011.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC2E
Deuteranopia (green-blind)
#D9C349
Tritanopia (blue-blind)
#E3B4A8
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d3c241;
/* rgb */ color: rgb(211, 194, 65);
/* oklch */ color: oklch(80.5% 0.146 101.7);
Tailwind
colors: {
  custom: {
    50: '#e4d47d',
    500: '#d3c241',
    950: '#000000',
  },
}
SCSS
$custom: #d3c241;
$custom-light: #e4d47d;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c241",
  "rgb": {
    "r": 211,
    "g": 194,
    "b": 65
  },
  "hsl": {
    "h": 53.014,
    "s": 62.393,
    "l": 54.118
  },
  "oklch": {
    "l": 0.80544,
    "c": 0.14565,
    "h": 101.7
  },
  "luminance": 0.52814
}

Semantic roles & 50–950 ramp

primary
#D3C241
secondary
#343D84
accent
#55E542
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D3C241

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

Preview Lab → · Contrast checker → · Palette generator →

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