#D3CF4A#D3CF4A

#D3CF4A is a very light, vivid yellow. Relative luminance 0.590; OKLCH L 83.4% C 0.151 H 107.6°. Best body text is #000000 at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#D3CF4A
RGBrgb(211, 207, 74)
HSLhsl(58, 61%, 56%)
HSVhsv(58, 65%, 83%)
CMYKcmyk(0%, 1.9%, 64.9%, 17.3%)
CIE-LABlab(81.28, -14.55, 63.96)
CIE-LCHlch(81.28, 65.59, 102.82°)
OKLaboklab(83.36% -0.0457 0.1442)
OKLCHoklch(83.36% 0.151 107.6)
XYZxyz(50.4146, 58.9705, 15.2040)
Luminance0.5897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CF4A #4A4ED3
analogous
#D38A4A #D3CF4A #92D34A
triadic
#D3CF4A #4AD3CF #CF4AD3
tetradic
#D3CF4A #4AD38A #4A4ED3 #D34A92
square
#D3CF4A #4AD38A #4A4ED3 #D34A92
split-complementary
#D3CF4A #4A92D3 #8A4AD3
monochromatic
#838020 #B4B02C #D3CF4A #DFDC7B #EBE9AC

Accessibility & contrast

On white

1.64
#D3CF4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.79
#D3CF4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3CF4A
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3CF4A#FFFFFF#000000##000000
##D3CF4A1.001.6412.7912.79
#FFFFFF1.641.0021.0021.00
#00000012.7921.001.001.00
##00000012.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C738
Deuteranopia (green-blind)
#E2CC53
Tritanopia (blue-blind)
#E2C2B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d3cf4a;
/* rgb */ color: rgb(211, 207, 74);
/* oklch */ color: oklch(83.4% 0.151 107.6);
Tailwind
colors: {
  custom: {
    50: '#e4dd83',
    500: '#d3cf4a',
    950: '#000000',
  },
}
SCSS
$custom: #d3cf4a;
$custom-light: #e4dd83;
$custom-dark: #000000;
JSON
{
  "hex": "#d3cf4a",
  "rgb": {
    "r": 211,
    "g": 207,
    "b": 74
  },
  "hsl": {
    "h": 58.248,
    "s": 60.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.83357,
    "c": 0.15128,
    "h": 107.6
  },
  "luminance": 0.58969
}

Semantic roles & 50–950 ramp

primary
#D3CF4A
secondary
#373A8A
accent
#48E444
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D3CF4A

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

Preview Lab → · Contrast checker → · Palette generator →

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