#CFCF65#CFCF65

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

Color values

HEX#CFCF65
RGBrgb(207, 207, 101)
HSLhsl(60, 52%, 60%)
HSVhsv(60, 51%, 81%)
CMYKcmyk(0%, 0%, 51.2%, 18.8%)
CIE-LABlab(81.20, -14.27, 52.01)
CIE-LCHlch(81.20, 53.94, 105.35°)
OKLaboklab(83.3% -0.0419 0.1222)
OKLCHoklch(83.3% 0.129 108.9)
XYZxyz(50.3951, 58.8319, 21.0104)
Luminance0.5883 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF65 #6565CF
analogous
#CF9A65 #CFCF65 #9ACF65
triadic
#CFCF65 #65CFCF #CF65CF
tetradic
#CFCF65 #65CF9A #6565CF #CF659A
square
#CFCF65 #65CF9A #6565CF #CF659A
split-complementary
#CFCF65 #659ACF #9A65CF
monochromatic
#8D8D2C #BCBC3B #CFCF65 #DEDE94 #ECECC2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFCF65#FFFFFF#000000##000000
##CFCF651.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)
#DDC85B
Deuteranopia (green-blind)
#DFCC6A
Tritanopia (blue-blind)
#DCC4B7
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cfcf65;
/* rgb */ color: rgb(207, 207, 101);
/* oklch */ color: oklch(83.3% 0.129 108.9);
Tailwind
colors: {
  custom: {
    50: '#e0dd94',
    500: '#cfcf65',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf65;
$custom-light: #e0dd94;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf65",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 101
  },
  "hsl": {
    "h": 60,
    "s": 52.475,
    "l": 60.392
  },
  "oklch": {
    "l": 0.83297,
    "c": 0.12919,
    "h": 108.9
  },
  "luminance": 0.58831
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFCF65

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

Preview Lab → · Contrast checker → · Palette generator →

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