#D9CA46#D9CA46

#D9CA46 is a very light, vivid yellow. Relative luminance 0.574; OKLCH L 82.8% C 0.149 H 102.8°. Best body text is #000000 at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#D9CA46
RGBrgb(217, 202, 70)
HSLhsl(54, 66%, 56%)
HSVhsv(54, 68%, 85%)
CMYKcmyk(0%, 6.9%, 67.7%, 14.9%)
CIE-LABlab(80.42, -9.74, 64.82)
CIE-LCHlch(80.42, 65.55, 98.55°)
OKLaboklab(82.79% -0.0329 0.1452)
OKLCHoklch(82.79% 0.149 102.8)
XYZxyz(50.8434, 57.4371, 14.2015)
Luminance0.5744 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CA46 #4655D9
analogous
#D98146 #D9CA46 #9ED946
triadic
#D9CA46 #46D9CA #CA46D9
tetradic
#D9CA46 #46D981 #4655D9 #D9469E
square
#D9CA46 #46D981 #4655D9 #D9469E
split-complementary
#D9CA46 #469ED9 #8146D9
monochromatic
#897D1C #BBAC26 #D9CA46 #E3D979 #EEE7AC

Accessibility & contrast

On white

1.68
#D9CA46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.49
#D9CA46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CA46
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CA46#FFFFFF#000000##000000
##D9CA461.001.6812.4912.49
#FFFFFF1.681.0021.0021.00
#00000012.4921.001.001.00
##00000012.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC433
Deuteranopia (green-blind)
#E1CB4E
Tritanopia (blue-blind)
#E9BCAF
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d9ca46;
/* rgb */ color: rgb(217, 202, 70);
/* oklch */ color: oklch(82.8% 0.149 102.8);
Tailwind
colors: {
  custom: {
    50: '#e8d981',
    500: '#d9ca46',
    950: '#000000',
  },
}
SCSS
$custom: #d9ca46;
$custom-light: #e8d981;
$custom-dark: #000000;
JSON
{
  "hex": "#d9ca46",
  "rgb": {
    "r": 217,
    "g": 202,
    "b": 70
  },
  "hsl": {
    "h": 53.878,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.82791,
    "c": 0.14889,
    "h": 102.8
  },
  "luminance": 0.57435
}

Semantic roles & 50–950 ramp

primary
#D9CA46
secondary
#353E8F
accent
#50E93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #D9CA46

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

Preview Lab → · Contrast checker → · Palette generator →

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