#D3C23C#D3C23C

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

Color values

HEX#D3C23C
RGBrgb(211, 194, 60)
HSLhsl(53, 63%, 53%)
HSVhsv(53, 72%, 83%)
CMYKcmyk(0%, 8.1%, 71.6%, 17.3%)
CIE-LABlab(77.73, -8.71, 65.76)
CIE-LCHlch(77.73, 66.34, 97.55°)
OKLaboklab(80.51% -0.0307 0.1457)
OKLCHoklch(80.51% 0.149 101.9)
XYZxyz(46.9735, 52.7608, 11.9836)
Luminance0.5276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C23C #3C4DD3
analogous
#D3763C #D3C23C #98D33C
triadic
#D3C23C #3CD3C2 #C23CD3
tetradic
#D3C23C #3CD376 #3C4DD3 #D33C98
square
#D3C23C #3CD376 #3C4DD3 #D33C98
split-complementary
#D3C23C #3C98D3 #763CD3
monochromatic
#796F1B #AB9C27 #D3C23C #DED26E #EAE1A0

Accessibility & contrast

On white

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

On black

11.55
#D3C23C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C23C
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C23C#FFFFFF#000000##000000
##D3C23C1.001.8211.5511.55
#FFFFFF1.821.0021.0021.00
#00000011.5521.001.001.00
##00000011.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d3c23c;
/* rgb */ color: rgb(211, 194, 60);
/* oklch */ color: oklch(80.5% 0.149 101.9);
Tailwind
colors: {
  custom: {
    50: '#e4d47a',
    500: '#d3c23c',
    950: '#000000',
  },
}
SCSS
$custom: #d3c23c;
$custom-light: #e4d47a;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c23c",
  "rgb": {
    "r": 211,
    "g": 194,
    "b": 60
  },
  "hsl": {
    "h": 53.245,
    "s": 63.18,
    "l": 53.137
  },
  "oklch": {
    "l": 0.80508,
    "c": 0.14887,
    "h": 101.9
  },
  "luminance": 0.52759
}

Semantic roles & 50–950 ramp

primary
#D3C23C
secondary
#323B81
accent
#54E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D3C23C

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

Preview Lab → · Contrast checker → · Palette generator →

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