#D6CF4A#D6CF4A

#D6CF4A is a very light, vivid yellow. Relative luminance 0.594; OKLCH L 83.6% C 0.151 H 106.3°. Best body text is #000000 at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#D6CF4A
RGBrgb(214, 207, 74)
HSLhsl(57, 63%, 56%)
HSVhsv(57, 65%, 84%)
CMYKcmyk(0%, 3.3%, 65.4%, 16.1%)
CIE-LABlab(81.52, -13.30, 64.29)
CIE-LCHlch(81.52, 65.65, 101.69°)
OKLaboklab(83.61% -0.0424 0.1448)
OKLCHoklch(83.61% 0.151 106.3)
XYZxyz(51.2823, 59.4179, 15.2447)
Luminance0.5942 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6CF4A #4A51D6
analogous
#D6894A #D6CF4A #97D64A
triadic
#D6CF4A #4AD6CF #CF4AD6
tetradic
#D6CF4A #4AD689 #4A51D6 #D64A97
square
#D6CF4A #4AD689 #4A51D6 #D64A97
split-complementary
#D6CF4A #4A97D6 #894AD6
monochromatic
#87821F #B9B22A #D6CF4A #E1DC7C #EDE9AE

Accessibility & contrast

On white

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

On black

12.88
#D6CF4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6CF4A
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6CF4A#FFFFFF#000000##000000
##D6CF4A1.001.6312.8812.88
#FFFFFF1.631.0021.0021.00
#00000012.8821.001.001.00
##00000012.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d6cf4a;
/* rgb */ color: rgb(214, 207, 74);
/* oklch */ color: oklch(83.6% 0.151 106.3);
Tailwind
colors: {
  custom: {
    50: '#e6dd83',
    500: '#d6cf4a',
    950: '#000000',
  },
}
SCSS
$custom: #d6cf4a;
$custom-light: #e6dd83;
$custom-dark: #000000;
JSON
{
  "hex": "#d6cf4a",
  "rgb": {
    "r": 214,
    "g": 207,
    "b": 74
  },
  "hsl": {
    "h": 57,
    "s": 63.063,
    "l": 56.471
  },
  "oklch": {
    "l": 0.83612,
    "c": 0.1509,
    "h": 106.3
  },
  "luminance": 0.59416
}

Semantic roles & 50–950 ramp

primary
#D6CF4A
secondary
#373B8D
accent
#4AE642
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D6CF4A

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

Preview Lab → · Contrast checker → · Palette generator →

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