#CFC866#CFC866

#CFC866 is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.8% C 0.121 H 105.1°. Best body text is #000000 at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#CFC866
RGBrgb(207, 200, 102)
HSLhsl(56, 52%, 61%)
HSVhsv(56, 51%, 81%)
CMYKcmyk(0%, 3.4%, 50.7%, 18.8%)
CIE-LABlab(79.35, -10.65, 49.36)
CIE-LCHlch(79.35, 50.50, 102.18°)
OKLaboklab(81.83% -0.0314 0.1166)
OKLCHoklch(81.83% 0.121 105.1)
XYZxyz(48.7860, 55.5347, 20.7172)
Luminance0.5553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC866 #666DCF
analogous
#CF9366 #CFC866 #A1CF66
triadic
#CFC866 #66CFC8 #C866CF
tetradic
#CFC866 #66CF93 #666DCF #CF66A1
square
#CFC866 #66CF93 #666DCF #CF66A1
split-complementary
#CFC866 #66A1CF #9366CF
monochromatic
#8E882D #BDB43B #CFC866 #DED995 #ECE9C3

Accessibility & contrast

On white

1.73
#CFC866 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.11
#CFC866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC866
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC866#FFFFFF#000000##000000
##CFC8661.001.7312.1112.11
#FFFFFF1.731.0021.0021.00
#00000012.1121.001.001.00
##00000012.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C25D
Deuteranopia (green-blind)
#D9C76B
Tritanopia (blue-blind)
#DCBDB2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cfc866;
/* rgb */ color: rgb(207, 200, 102);
/* oklch */ color: oklch(81.8% 0.121 105.1);
Tailwind
colors: {
  custom: {
    50: '#e0d894',
    500: '#cfc866',
    950: '#000000',
  },
}
SCSS
$custom: #cfc866;
$custom-light: #e0d894;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc866",
  "rgb": {
    "r": 207,
    "g": 200,
    "b": 102
  },
  "hsl": {
    "h": 56,
    "s": 52.239,
    "l": 60.588
  },
  "oklch": {
    "l": 0.81828,
    "c": 0.12071,
    "h": 105.1
  },
  "luminance": 0.55533
}

Semantic roles & 50–950 ramp

primary
#CFC866
secondary
#454A94
accent
#30C026
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CFC866

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

Preview Lab → · Contrast checker → · Palette generator →

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