#D7CF4A#D7CF4A

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

Color values

HEX#D7CF4A
RGBrgb(215, 207, 74)
HSLhsl(57, 64%, 57%)
HSVhsv(57, 66%, 84%)
CMYKcmyk(0%, 3.7%, 65.6%, 15.7%)
CIE-LABlab(81.60, -12.88, 64.40)
CIE-LCHlch(81.60, 65.67, 101.31°)
OKLaboklab(83.7% -0.0413 0.145)
OKLCHoklch(83.7% 0.151 105.9)
XYZxyz(51.5751, 59.5689, 15.2584)
Luminance0.5957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CF4A #4A52D7
analogous
#D7894A #D7CF4A #99D74A
triadic
#D7CF4A #4AD7CF #CF4AD7
tetradic
#D7CF4A #4AD789 #4A52D7 #D74A99
square
#D7CF4A #4AD789 #4A52D7 #D74A99
split-complementary
#D7CF4A #4A99D7 #894AD7
monochromatic
#88821E #BBB229 #D7CF4A #E2DC7C #EDEAAE

Accessibility & contrast

On white

1.63
#D7CF4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.91
#D7CF4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CF4A
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CF4A#FFFFFF#000000##000000
##D7CF4A1.001.6312.9112.91
#FFFFFF1.631.0021.0021.00
#00000012.9121.001.001.00
##00000012.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7cf4a;
/* rgb */ color: rgb(215, 207, 74);
/* oklch */ color: oklch(83.7% 0.151 105.9);
Tailwind
colors: {
  custom: {
    50: '#e7dd83',
    500: '#d7cf4a',
    950: '#000000',
  },
}
SCSS
$custom: #d7cf4a;
$custom-light: #e7dd83;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cf4a",
  "rgb": {
    "r": 215,
    "g": 207,
    "b": 74
  },
  "hsl": {
    "h": 56.596,
    "s": 63.801,
    "l": 56.667
  },
  "oklch": {
    "l": 0.83698,
    "c": 0.15078,
    "h": 105.9
  },
  "luminance": 0.59567
}

Semantic roles & 50–950 ramp

primary
#D7CF4A
secondary
#373C8F
accent
#4AE741
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D7CF4A

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

Preview Lab → · Contrast checker → · Palette generator →

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