#D1CA34#D1CA34

#D1CA34 is a light, vivid yellow. Relative luminance 0.560; OKLCH L 82.0% C 0.161 H 106.7°. Best body text is #000000 at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#D1CA34
RGBrgb(209, 202, 52)
HSLhsl(57, 63%, 51%)
HSVhsv(57, 75%, 82%)
CMYKcmyk(0%, 3.3%, 75.1%, 18%)
CIE-LABlab(79.64, -13.97, 70.26)
CIE-LCHlch(79.64, 71.63, 101.24°)
OKLaboklab(81.97% -0.0461 0.1538)
OKLCHoklch(81.97% 0.161 106.7)
XYZxyz(48.0368, 56.0460, 11.5358)
Luminance0.5604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CA34 #343BD1
analogous
#D17B34 #D1CA34 #89D134
triadic
#D1CA34 #34D1CA #CA34D1
tetradic
#D1CA34 #34D17B #343BD1 #D13489
square
#D1CA34 #34D17B #343BD1 #D13489
split-complementary
#D1CA34 #3489D1 #7B34D1
monochromatic
#716D1A #A39D25 #D1CA34 #DCD766 #E8E498

Accessibility & contrast

On white

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

On black

12.21
#D1CA34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CA34
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CA34#FFFFFF#000000##000000
##D1CA341.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC210
Deuteranopia (green-blind)
#DFC840
Tritanopia (blue-blind)
#E0BCAE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d1ca34;
/* rgb */ color: rgb(209, 202, 52);
/* oklch */ color: oklch(82.0% 0.161 106.7);
Tailwind
colors: {
  custom: {
    50: '#e3d977',
    500: '#d1ca34',
    950: '#000000',
  },
}
SCSS
$custom: #d1ca34;
$custom-light: #e3d977;
$custom-dark: #000000;
JSON
{
  "hex": "#d1ca34",
  "rgb": {
    "r": 209,
    "g": 202,
    "b": 52
  },
  "hsl": {
    "h": 57.325,
    "s": 63.052,
    "l": 51.176
  },
  "oklch": {
    "l": 0.8197,
    "c": 0.1606,
    "h": 106.7
  },
  "luminance": 0.56044
}

Semantic roles & 50–950 ramp

primary
#D1CA34
secondary
#2F337A
accent
#49E642
background
#FFFEFB
surface
#FEFBF1
border
#D6D4CB
text
#161409
muted
#85837D

Preview Lab

Preview with #D1CA34

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

Preview Lab → · Contrast checker → · Palette generator →

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