#D3C150#D3C150

#D3C150 is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.5% C 0.134 H 100.3°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#D3C150
RGBrgb(211, 193, 80)
HSLhsl(52, 60%, 57%)
HSVhsv(52, 62%, 83%)
CMYKcmyk(0%, 8.5%, 62.1%, 17.3%)
CIE-LABlab(77.62, -7.08, 57.58)
CIE-LCHlch(77.62, 58.01, 97.01°)
OKLaboklab(80.47% -0.0239 0.1316)
OKLCHoklch(80.47% 0.134 100.3)
XYZxyz(47.3838, 52.5700, 15.2390)
Luminance0.5257 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C150 #5062D3
analogous
#D38050 #D3C150 #A3D350
triadic
#D3C150 #50D3C1 #C150D3
tetradic
#D3C150 #50D380 #5062D3 #D350A3
square
#D3C150 #50D380 #5062D3 #D350A3
split-complementary
#D3C150 #50A3D3 #8050D3
monochromatic
#877922 #B8A52E #D3C150 #DFD281 #ECE4B2

Accessibility & contrast

On white

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

On black

11.51
#D3C150 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C150
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C150#FFFFFF#000000##000000
##D3C1501.001.8211.5111.51
#FFFFFF1.821.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC43
Deuteranopia (green-blind)
#D7C356
Tritanopia (blue-blind)
#E2B4A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d3c150;
/* rgb */ color: rgb(211, 193, 80);
/* oklch */ color: oklch(80.5% 0.134 100.3);
Tailwind
colors: {
  custom: {
    50: '#e4d386',
    500: '#d3c150',
    950: '#000000',
  },
}
SCSS
$custom: #d3c150;
$custom-light: #e4d386;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c150",
  "rgb": {
    "r": 211,
    "g": 193,
    "b": 80
  },
  "hsl": {
    "h": 51.756,
    "s": 59.817,
    "l": 57.059
  },
  "oklch": {
    "l": 0.80466,
    "c": 0.13374,
    "h": 100.3
  },
  "luminance": 0.52568
}

Semantic roles & 50–950 ramp

primary
#D3C150
secondary
#3A458D
accent
#5BE345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D3C150

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

Preview Lab → · Contrast checker → · Palette generator →

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