#D3C93B#D3C93B

#D3C93B is a light, vivid yellow. Relative luminance 0.559; OKLCH L 82.0% C 0.156 H 105.3°. Best body text is #000000 at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#D3C93B
RGBrgb(211, 201, 59)
HSLhsl(56, 63%, 53%)
HSVhsv(56, 72%, 83%)
CMYKcmyk(0%, 4.7%, 72%, 17.3%)
CIE-LABlab(79.58, -12.32, 67.91)
CIE-LCHlch(79.58, 69.02, 100.28°)
OKLaboklab(81.97% -0.041 0.15)
OKLCHoklch(81.97% 0.156 105.3)
XYZxyz(48.5420, 55.9398, 12.3773)
Luminance0.5594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C93B #3B45D3
analogous
#D37D3B #D3C93B #91D33B
triadic
#D3C93B #3BD3C9 #C93BD3
tetradic
#D3C93B #3BD37D #3B45D3 #D33B91
square
#D3C93B #3BD37D #3B45D3 #D33B91
split-complementary
#D3C93B #3B91D3 #7D3BD3
monochromatic
#79721B #ABA226 #D3C93B #DED76D #E9E59F

Accessibility & contrast

On white

1.72
#D3C93B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.19
#D3C93B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C93B
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C93B#FFFFFF#000000##000000
##D3C93B1.001.7212.1912.19
#FFFFFF1.721.0021.0021.00
#00000012.1921.001.001.00
##00000012.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC221
Deuteranopia (green-blind)
#DEC845
Tritanopia (blue-blind)
#E3BBAD
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d3c93b;
/* rgb */ color: rgb(211, 201, 59);
/* oklch */ color: oklch(82.0% 0.156 105.3);
Tailwind
colors: {
  custom: {
    50: '#e4d97b',
    500: '#d3c93b',
    950: '#000000',
  },
}
SCSS
$custom: #d3c93b;
$custom-light: #e4d97b;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c93b",
  "rgb": {
    "r": 211,
    "g": 201,
    "b": 59
  },
  "hsl": {
    "h": 56.053,
    "s": 63.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.81974,
    "c": 0.15552,
    "h": 105.3
  },
  "luminance": 0.55938
}

Semantic roles & 50–950 ramp

primary
#D3C93B
secondary
#323781
accent
#4CE641
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D3C93B

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

Preview Lab → · Contrast checker → · Palette generator →

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