#D7CF4F#D7CF4F

#D7CF4F is a very light, vivid yellow. Relative luminance 0.596; OKLCH L 83.7% C 0.147 H 105.7°. Best body text is #000000 at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#D7CF4F
RGBrgb(215, 207, 79)
HSLhsl(56, 63%, 58%)
HSVhsv(56, 63%, 84%)
CMYKcmyk(0%, 3.7%, 63.3%, 15.7%)
CIE-LABlab(81.64, -12.59, 62.41)
CIE-LCHlch(81.64, 63.67, 101.40°)
OKLaboklab(83.74% -0.0399 0.1416)
OKLCHoklch(83.74% 0.147 105.7)
XYZxyz(51.7503, 59.6390, 16.1811)
Luminance0.5964 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CF4F #4F57D7
analogous
#D78B4F #D7CF4F #9BD74F
triadic
#D7CF4F #4FD7CF #CF4FD7
tetradic
#D7CF4F #4FD78B #4F57D7 #D74F9B
square
#D7CF4F #4FD78B #4F57D7 #D74F9B
split-complementary
#D7CF4F #4F9BD7 #8B4FD7
monochromatic
#8C8520 #BEB52B #D7CF4F #E2DD81 #EEEAB3

Accessibility & contrast

On white

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

On black

12.93
#D7CF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CF4F
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CF4F#FFFFFF#000000##000000
##D7CF4F1.001.6212.9312.93
#FFFFFF1.621.0021.0021.00
#00000012.9321.001.001.00
##00000012.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C83F
Deuteranopia (green-blind)
#E3CD57
Tritanopia (blue-blind)
#E6C2B4
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d7cf4f;
/* rgb */ color: rgb(215, 207, 79);
/* oklch */ color: oklch(83.7% 0.147 105.7);
Tailwind
colors: {
  custom: {
    50: '#e6dd86',
    500: '#d7cf4f',
    950: '#000000',
  },
}
SCSS
$custom: #d7cf4f;
$custom-light: #e6dd86;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cf4f",
  "rgb": {
    "r": 215,
    "g": 207,
    "b": 79
  },
  "hsl": {
    "h": 56.471,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.8374,
    "c": 0.1471,
    "h": 105.7
  },
  "luminance": 0.59637
}

Semantic roles & 50–950 ramp

primary
#D7CF4F
secondary
#393E92
accent
#4BE642
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7CF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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