#CFCF66#CFCF66

#CFCF66 is a very light, vivid yellow. Relative luminance 0.589; OKLCH L 83.3% C 0.128 H 108.9°. Best body text is #000000 at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#CFCF66
RGBrgb(207, 207, 102)
HSLhsl(60, 52%, 61%)
HSVhsv(60, 51%, 81%)
CMYKcmyk(0%, 0%, 50.7%, 18.8%)
CIE-LABlab(81.21, -14.19, 51.56)
CIE-LCHlch(81.21, 53.47, 105.39°)
OKLaboklab(83.31% -0.0415 0.1213)
OKLCHoklch(83.31% 0.128 108.9)
XYZxyz(50.4444, 58.8516, 21.2700)
Luminance0.5885 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF66 #6666CF
analogous
#CF9A66 #CFCF66 #9ACF66
triadic
#CFCF66 #66CFCF #CF66CF
tetradic
#CFCF66 #66CF9A #6666CF #CF669A
square
#CFCF66 #66CF9A #6666CF #CF669A
split-complementary
#CFCF66 #669ACF #9A66CF
monochromatic
#8E8E2D #BDBD3B #CFCF66 #DEDE95 #ECECC3

Accessibility & contrast

On white

1.64
#CFCF66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.77
#CFCF66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCF66
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCF66#FFFFFF#000000##000000
##CFCF661.001.6412.7712.77
#FFFFFF1.641.0021.0021.00
#00000012.7721.001.001.00
##00000012.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC85C
Deuteranopia (green-blind)
#DFCC6B
Tritanopia (blue-blind)
#DBC4B7
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cfcf66;
/* rgb */ color: rgb(207, 207, 102);
/* oklch */ color: oklch(83.3% 0.128 108.9);
Tailwind
colors: {
  custom: {
    50: '#e0dd94',
    500: '#cfcf66',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf66;
$custom-light: #e0dd94;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf66",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 102
  },
  "hsl": {
    "h": 60,
    "s": 52.239,
    "l": 60.588
  },
  "oklch": {
    "l": 0.83309,
    "c": 0.12823,
    "h": 108.9
  },
  "luminance": 0.5885
}

Semantic roles & 50–950 ramp

primary
#CFCF66
secondary
#454594
accent
#26C026
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CFCF66

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

Preview Lab → · Contrast checker → · Palette generator →

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