#D9CF46#D9CF46

#D9CF46 is a very light, vivid yellow. Relative luminance 0.598; OKLCH L 83.8% C 0.153 H 105.1°. Best body text is #000000 at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#D9CF46
RGBrgb(217, 207, 70)
HSLhsl(56, 66%, 56%)
HSVhsv(56, 68%, 85%)
CMYKcmyk(0%, 4.6%, 67.7%, 14.9%)
CIE-LABlab(81.74, -12.27, 66.15)
CIE-LCHlch(81.74, 67.28, 100.50°)
OKLaboklab(83.84% -0.04 0.148)
OKLCHoklch(83.84% 0.153 105.1)
XYZxyz(52.0356, 59.8215, 14.5989)
Luminance0.5982 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CF46 #4650D9
analogous
#D98646 #D9CF46 #9AD946
triadic
#D9CF46 #46D9CF #CF46D9
tetradic
#D9CF46 #46D986 #4650D9 #D9469A
square
#D9CF46 #46D986 #4650D9 #D9469A
split-complementary
#D9CF46 #469AD9 #8646D9
monochromatic
#89811C #BBB126 #D9CF46 #E3DC79 #EEE9AC

Accessibility & contrast

On white

1.62
#D9CF46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.96
#D9CF46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CF46
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CF46#FFFFFF#000000##000000
##D9CF461.001.6212.9612.96
#FFFFFF1.621.0021.0021.00
#00000012.9621.001.001.00
##00000012.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C832
Deuteranopia (green-blind)
#E4CE4F
Tritanopia (blue-blind)
#E9C1B3
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d9cf46;
/* rgb */ color: rgb(217, 207, 70);
/* oklch */ color: oklch(83.8% 0.153 105.1);
Tailwind
colors: {
  custom: {
    50: '#e8dd81',
    500: '#d9cf46',
    950: '#000000',
  },
}
SCSS
$custom: #d9cf46;
$custom-light: #e8dd81;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cf46",
  "rgb": {
    "r": 217,
    "g": 207,
    "b": 70
  },
  "hsl": {
    "h": 55.918,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.83838,
    "c": 0.15334,
    "h": 105.1
  },
  "luminance": 0.5982
}

Semantic roles & 50–950 ramp

primary
#D9CF46
secondary
#353B8F
accent
#4BE93F
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #D9CF46

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

Preview Lab → · Contrast checker → · Palette generator →

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