#CFCF6C#CFCF6C

#CFCF6C is a very light, vivid yellow. Relative luminance 0.590; OKLCH L 83.4% C 0.122 H 108.8°. Best body text is #000000 at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#CFCF6C
RGBrgb(207, 207, 108)
HSLhsl(60, 51%, 62%)
HSVhsv(60, 48%, 81%)
CMYKcmyk(0%, 0%, 47.8%, 18.8%)
CIE-LABlab(81.28, -13.66, 48.79)
CIE-LCHlch(81.28, 50.67, 105.64°)
OKLaboklab(83.39% -0.0394 0.1158)
OKLCHoklch(83.39% 0.122 108.8)
XYZxyz(50.7528, 58.9749, 22.8942)
Luminance0.5897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF6C #6C6CCF
analogous
#CF9E6C #CFCF6C #9ECF6C
triadic
#CFCF6C #6CCFCF #CF6CCF
tetradic
#CFCF6C #6CCF9E #6C6CCF #CF6C9E
square
#CFCF6C #6CCF9E #6C6CCF #CF6C9E
split-complementary
#CFCF6C #6C9ECF #9E6CCF
monochromatic
#91912F #BFBF3E #CFCF6C #DEDE9A #EDEDC8

Accessibility & contrast

On white

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

On black

12.79
#CFCF6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCF6C
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCF6C#FFFFFF#000000##000000
##CFCF6C1.001.6412.7912.79
#FFFFFF1.641.0021.0021.00
#00000012.7921.001.001.00
##00000012.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC863
Deuteranopia (green-blind)
#DECC71
Tritanopia (blue-blind)
#DBC4B8
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cfcf6c;
/* rgb */ color: rgb(207, 207, 108);
/* oklch */ color: oklch(83.4% 0.122 108.8);
Tailwind
colors: {
  custom: {
    50: '#dfdd98',
    500: '#cfcf6c',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf6c;
$custom-light: #dfdd98;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf6c",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 108
  },
  "hsl": {
    "h": 60,
    "s": 50.769,
    "l": 61.765
  },
  "oklch": {
    "l": 0.83385,
    "c": 0.12235,
    "h": 108.8
  },
  "luminance": 0.58974
}

Semantic roles & 50–950 ramp

primary
#CFCF6C
secondary
#484897
accent
#27BE27
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CFCF6C

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

Preview Lab → · Contrast checker → · Palette generator →

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