#D1CA46#D1CA46

#D1CA46 is a very light, vivid yellow. Relative luminance 0.562; OKLCH L 82.1% C 0.150 H 106.3°. Best body text is #000000 at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#D1CA46
RGBrgb(209, 202, 70)
HSLhsl(57, 60%, 55%)
HSVhsv(57, 67%, 82%)
CMYKcmyk(0%, 3.3%, 66.5%, 18%)
CIE-LABlab(79.75, -13.11, 63.92)
CIE-LCHlch(79.75, 65.25, 101.59°)
OKLaboklab(82.09% -0.042 0.1436)
OKLCHoklch(82.09% 0.15 106.3)
XYZxyz(48.5223, 56.2402, 14.0927)
Luminance0.5624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CA46 #464DD1
analogous
#D18446 #D1CA46 #93D146
triadic
#D1CA46 #46D1CA #CA46D1
tetradic
#D1CA46 #46D184 #464DD1 #D14693
square
#D1CA46 #46D184 #464DD1 #D14693
split-complementary
#D1CA46 #4693D1 #8446D1
monochromatic
#7D791F #AEA82B #D1CA46 #DDD877 #E9E6A8

Accessibility & contrast

On white

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

On black

12.25
#D1CA46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CA46
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CA46#FFFFFF#000000##000000
##D1CA461.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC333
Deuteranopia (green-blind)
#DEC84E
Tritanopia (blue-blind)
#E0BDAF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d1ca46;
/* rgb */ color: rgb(209, 202, 70);
/* oklch */ color: oklch(82.1% 0.150 106.3);
Tailwind
colors: {
  custom: {
    50: '#e2d981',
    500: '#d1ca46',
    950: '#000000',
  },
}
SCSS
$custom: #d1ca46;
$custom-light: #e2d981;
$custom-dark: #000000;
JSON
{
  "hex": "#d1ca46",
  "rgb": {
    "r": 209,
    "g": 202,
    "b": 70
  },
  "hsl": {
    "h": 56.978,
    "s": 60.173,
    "l": 54.706
  },
  "oklch": {
    "l": 0.82093,
    "c": 0.14956,
    "h": 106.3
  },
  "luminance": 0.56239
}

Semantic roles & 50–950 ramp

primary
#D1CA46
secondary
#363A85
accent
#4CE344
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1CA46

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

Preview Lab → · Contrast checker → · Palette generator →

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