#D4CF4F#D4CF4F

#D4CF4F is a very light, vivid yellow. Relative luminance 0.592; OKLCH L 83.5% C 0.147 H 107.1°. Best body text is #000000 at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#D4CF4F
RGBrgb(212, 207, 79)
HSLhsl(58, 61%, 57%)
HSVhsv(58, 63%, 83%)
CMYKcmyk(0%, 2.4%, 62.7%, 16.9%)
CIE-LABlab(81.40, -13.83, 62.08)
CIE-LCHlch(81.40, 63.60, 102.56°)
OKLaboklab(83.49% -0.0432 0.141)
OKLCHoklch(83.49% 0.147 107.1)
XYZxyz(50.8772, 59.1888, 16.1402)
Luminance0.5919 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CF4F #4F54D4
analogous
#D48C4F #D4CF4F #97D44F
triadic
#D4CF4F #4FD4CF #CF4FD4
tetradic
#D4CF4F #4FD48C #4F54D4 #D44F97
square
#D4CF4F #4FD48C #4F54D4 #D44F97
split-complementary
#D4CF4F #4F97D4 #8C4FD4
monochromatic
#878421 #B9B32D #D4CF4F #E0DC80 #ECEAB1

Accessibility & contrast

On white

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

On black

12.84
#D4CF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CF4F
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CF4F#FFFFFF#000000##000000
##D4CF4F1.001.6412.8412.84
#FFFFFF1.641.0021.0021.00
#00000012.8421.001.001.00
##00000012.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4cf4f;
/* rgb */ color: rgb(212, 207, 79);
/* oklch */ color: oklch(83.5% 0.147 107.1);
Tailwind
colors: {
  custom: {
    50: '#e4dd86',
    500: '#d4cf4f',
    950: '#000000',
  },
}
SCSS
$custom: #d4cf4f;
$custom-light: #e4dd86;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cf4f",
  "rgb": {
    "r": 212,
    "g": 207,
    "b": 79
  },
  "hsl": {
    "h": 57.744,
    "s": 60.731,
    "l": 57.059
  },
  "oklch": {
    "l": 0.83485,
    "c": 0.14744,
    "h": 107.1
  },
  "luminance": 0.59187
}

Semantic roles & 50–950 ramp

primary
#D4CF4F
secondary
#393C8E
accent
#4AE444
background
#FEFEFC
surface
#FDFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #D4CF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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