#D6CF3B#D6CF3B

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

Color values

HEX#D6CF3B
RGBrgb(214, 207, 59)
HSLhsl(57, 65%, 54%)
HSVhsv(57, 72%, 84%)
CMYKcmyk(0%, 3.3%, 72.4%, 16.1%)
CIE-LABlab(81.42, -14.06, 69.76)
CIE-LCHlch(81.42, 71.16, 101.40°)
OKLaboklab(83.5% -0.046 0.1538)
OKLCHoklch(83.5% 0.161 106.7)
XYZxyz(50.8358, 59.2394, 12.8934)
Luminance0.5924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6CF3B #3B42D6
analogous
#D6813B #D6CF3B #8FD63B
triadic
#D6CF3B #3BD6CF #CF3BD6
tetradic
#D6CF3B #3BD681 #3B42D6 #D63B8F
square
#D6CF3B #3BD681 #3B42D6 #D63B8F
split-complementary
#D6CF3B #3B8FD6 #813BD6
monochromatic
#7D781A #AFA925 #D6CF3B #E1DB6E #EBE8A0

Accessibility & contrast

On white

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

On black

12.85
#D6CF3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6CF3B
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6CF3B#FFFFFF#000000##000000
##D6CF3B1.001.6312.8512.85
#FFFFFF1.631.0021.0021.00
#00000012.8521.001.001.00
##00000012.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C71F
Deuteranopia (green-blind)
#E4CD46
Tritanopia (blue-blind)
#E6C1B2
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d6cf3b;
/* rgb */ color: rgb(214, 207, 59);
/* oklch */ color: oklch(83.5% 0.161 106.7);
Tailwind
colors: {
  custom: {
    50: '#e6dd7b',
    500: '#d6cf3b',
    950: '#000000',
  },
}
SCSS
$custom: #d6cf3b;
$custom-light: #e6dd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d6cf3b",
  "rgb": {
    "r": 214,
    "g": 207,
    "b": 59
  },
  "hsl": {
    "h": 57.29,
    "s": 65.401,
    "l": 53.529
  },
  "oklch": {
    "l": 0.83503,
    "c": 0.16058,
    "h": 106.7
  },
  "luminance": 0.59238
}

Semantic roles & 50–950 ramp

primary
#D6CF3B
secondary
#313584
accent
#47E83F
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D6CF3B

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

Preview Lab → · Contrast checker → · Palette generator →

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