#D3CF4F#D3CF4F

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

Color values

HEX#D3CF4F
RGBrgb(211, 207, 79)
HSLhsl(58, 60%, 57%)
HSVhsv(58, 63%, 83%)
CMYKcmyk(0%, 1.9%, 62.6%, 17.3%)
CIE-LABlab(81.31, -14.25, 61.96)
CIE-LCHlch(81.31, 63.58, 102.95°)
OKLaboklab(83.4% -0.0444 0.1407)
OKLCHoklch(83.4% 0.148 107.5)
XYZxyz(50.5898, 59.0406, 16.1267)
Luminance0.5904 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CF4F #4F53D3
analogous
#D38D4F #D3CF4F #95D34F
triadic
#D3CF4F #4FD3CF #CF4FD3
tetradic
#D3CF4F #4FD38D #4F53D3 #D34F95
square
#D3CF4F #4FD38D #4F53D3 #D34F95
split-complementary
#D3CF4F #4F95D3 #8D4FD3
monochromatic
#868322 #B7B32E #D3CF4F #DFDC80 #EBEAB1

Accessibility & contrast

On white

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

On black

12.81
#D3CF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3CF4F
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3CF4F#FFFFFF#000000##000000
##D3CF4F1.001.6412.8112.81
#FFFFFF1.641.0021.0021.00
#00000012.8121.001.001.00
##00000012.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC73F
Deuteranopia (green-blind)
#E2CC57
Tritanopia (blue-blind)
#E1C2B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d3cf4f;
/* rgb */ color: rgb(211, 207, 79);
/* oklch */ color: oklch(83.4% 0.148 107.5);
Tailwind
colors: {
  custom: {
    50: '#e4dd86',
    500: '#d3cf4f',
    950: '#000000',
  },
}
SCSS
$custom: #d3cf4f;
$custom-light: #e4dd86;
$custom-dark: #000000;
JSON
{
  "hex": "#d3cf4f",
  "rgb": {
    "r": 211,
    "g": 207,
    "b": 79
  },
  "hsl": {
    "h": 58.182,
    "s": 60,
    "l": 56.863
  },
  "oklch": {
    "l": 0.834,
    "c": 0.14758,
    "h": 107.5
  },
  "luminance": 0.59039
}

Semantic roles & 50–950 ramp

primary
#D3CF4F
secondary
#393C8D
accent
#49E345
background
#FEFEFC
surface
#FDFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #D3CF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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