#D3C23E#D3C23E

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

Color values

HEX#D3C23E
RGBrgb(211, 194, 62)
HSLhsl(53, 63%, 54%)
HSVhsv(53, 71%, 83%)
CMYKcmyk(0%, 8.1%, 70.6%, 17.3%)
CIE-LABlab(77.75, -8.61, 65.04)
CIE-LCHlch(77.75, 65.60, 97.55°)
OKLaboklab(80.52% -0.0302 0.1445)
OKLCHoklch(80.52% 0.148 101.8)
XYZxyz(47.0273, 52.7823, 12.2674)
Luminance0.5278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C23E #3E4FD3
analogous
#D3773E #D3C23E #99D33E
triadic
#D3C23E #3ED3C2 #C23ED3
tetradic
#D3C23E #3ED377 #3E4FD3 #D33E99
square
#D3C23E #3ED377 #3E4FD3 #D33E99
split-complementary
#D3C23E #3E99D3 #773ED3
monochromatic
#7B701C #AC9D27 #D3C23E #DED270 #EAE2A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3C23E#FFFFFF#000000##000000
##D3C23E1.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)
#D4BC29
Deuteranopia (green-blind)
#D9C347
Tritanopia (blue-blind)
#E3B4A8
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d3c23e;
/* rgb */ color: rgb(211, 194, 62);
/* oklch */ color: oklch(80.5% 0.148 101.8);
Tailwind
colors: {
  custom: {
    50: '#e4d47b',
    500: '#d3c23e',
    950: '#000000',
  },
}
SCSS
$custom: #d3c23e;
$custom-light: #e4d47b;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c23e",
  "rgb": {
    "r": 211,
    "g": 194,
    "b": 62
  },
  "hsl": {
    "h": 53.154,
    "s": 62.869,
    "l": 53.529
  },
  "oklch": {
    "l": 0.80522,
    "c": 0.14762,
    "h": 101.8
  },
  "luminance": 0.5278
}

Semantic roles & 50–950 ramp

primary
#D3C23E
secondary
#333C82
accent
#55E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D3C23E

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

Preview Lab → · Contrast checker → · Palette generator →

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