#D3C23D#D3C23D

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

Color values

HEX#D3C23D
RGBrgb(211, 194, 61)
HSLhsl(53, 63%, 53%)
HSVhsv(53, 71%, 83%)
CMYKcmyk(0%, 8.1%, 71.1%, 17.3%)
CIE-LABlab(77.74, -8.66, 65.40)
CIE-LCHlch(77.74, 65.97, 97.55°)
OKLaboklab(80.52% -0.0305 0.1451)
OKLCHoklch(80.52% 0.148 101.9)
XYZxyz(47.0002, 52.7714, 12.1242)
Luminance0.5277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C23D #3D4ED3
analogous
#D3773D #D3C23D #99D33D
triadic
#D3C23D #3DD3C2 #C23DD3
tetradic
#D3C23D #3DD377 #3D4ED3 #D33D99
square
#D3C23D #3DD377 #3D4ED3 #D33D99
split-complementary
#D3C23D #3D99D3 #773DD3
monochromatic
#7A6F1C #AC9D27 #D3C23D #DED26F #EAE1A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3C23D#FFFFFF#000000##000000
##D3C23D1.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)
#D4BC27
Deuteranopia (green-blind)
#D9C346
Tritanopia (blue-blind)
#E3B4A8
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d3c23d;
/* rgb */ color: rgb(211, 194, 61);
/* oklch */ color: oklch(80.5% 0.148 101.9);
Tailwind
colors: {
  custom: {
    50: '#e4d47b',
    500: '#d3c23d',
    950: '#000000',
  },
}
SCSS
$custom: #d3c23d;
$custom-light: #e4d47b;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c23d",
  "rgb": {
    "r": 211,
    "g": 194,
    "b": 61
  },
  "hsl": {
    "h": 53.2,
    "s": 63.025,
    "l": 53.333
  },
  "oklch": {
    "l": 0.80515,
    "c": 0.14825,
    "h": 101.9
  },
  "luminance": 0.52769
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D3C23D

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

Preview Lab → · Contrast checker → · Palette generator →

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