#D3CA3B#D3CA3B

#D3CA3B is a very light, vivid yellow. Relative luminance 0.564; OKLCH L 82.2% C 0.156 H 105.7°. Best body text is #000000 at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#D3CA3B
RGBrgb(211, 202, 59)
HSLhsl(56, 63%, 53%)
HSVhsv(56, 72%, 83%)
CMYKcmyk(0%, 4.3%, 72%, 17.3%)
CIE-LABlab(79.85, -12.82, 68.16)
CIE-LCHlch(79.85, 69.36, 100.65°)
OKLaboklab(82.19% -0.0424 0.1506)
OKLCHoklch(82.19% 0.156 105.7)
XYZxyz(48.7759, 56.4075, 12.4553)
Luminance0.5641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CA3B #3B44D3
analogous
#D37E3B #D3CA3B #90D33B
triadic
#D3CA3B #3BD3CA #CA3BD3
tetradic
#D3CA3B #3BD37E #3B44D3 #D33B90
square
#D3CA3B #3BD37E #3B44D3 #D33B90
split-complementary
#D3CA3B #3B90D3 #7E3BD3
monochromatic
#79731B #ABA326 #D3CA3B #DED86D #E9E59F

Accessibility & contrast

On white

1.71
#D3CA3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.28
#D3CA3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3CA3B
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3CA3B#FFFFFF#000000##000000
##D3CA3B1.001.7112.2812.28
#FFFFFF1.711.0021.0021.00
#00000012.2821.001.001.00
##00000012.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC321
Deuteranopia (green-blind)
#DFC945
Tritanopia (blue-blind)
#E3BCAE
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d3ca3b;
/* rgb */ color: rgb(211, 202, 59);
/* oklch */ color: oklch(82.2% 0.156 105.7);
Tailwind
colors: {
  custom: {
    50: '#e4d97b',
    500: '#d3ca3b',
    950: '#000000',
  },
}
SCSS
$custom: #d3ca3b;
$custom-light: #e4d97b;
$custom-dark: #000000;
JSON
{
  "hex": "#d3ca3b",
  "rgb": {
    "r": 211,
    "g": 202,
    "b": 59
  },
  "hsl": {
    "h": 56.447,
    "s": 63.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.82186,
    "c": 0.15642,
    "h": 105.7
  },
  "luminance": 0.56406
}

Semantic roles & 50–950 ramp

primary
#D3CA3B
secondary
#323681
accent
#4BE641
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D3CA3B

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

Preview Lab → · Contrast checker → · Palette generator →

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