#CFCF7B#CFCF7B

#CFCF7B is a very light, moderate yellow. Relative luminance 0.593; OKLCH L 83.6% C 0.107 H 108.5°. Best body text is #000000 at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#CFCF7B
RGBrgb(207, 207, 123)
HSLhsl(60, 47%, 65%)
HSVhsv(60, 41%, 81%)
CMYKcmyk(0%, 0%, 40.6%, 18.8%)
CIE-LABlab(81.47, -12.18, 41.68)
CIE-LCHlch(81.47, 43.42, 106.29°)
OKLaboklab(83.6% -0.0338 0.1011)
OKLCHoklch(83.6% 0.107 108.5)
XYZxyz(51.6209, 59.3222, 27.4661)
Luminance0.5932 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF7B #7B7BCF
analogous
#CFA57B #CFCF7B #A5CF7B
triadic
#CFCF7B #7BCFCF #CF7BCF
tetradic
#CFCF7B #7BCFA5 #7B7BCF #CF7BA5
square
#CFCF7B #7BCFA5 #7B7BCF #CF7BA5
split-complementary
#CFCF7B #7BA5CF #A57BCF
monochromatic
#989837 #BFBF4E #CFCF7B #DFDFA8 #F0F0D5

Accessibility & contrast

On white

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

On black

12.86
#CFCF7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCF7B
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCF7B#FFFFFF#000000##000000
##CFCF7B1.001.6312.8612.86
#FFFFFF1.631.0021.0021.00
#00000012.8621.001.001.00
##00000012.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC974
Deuteranopia (green-blind)
#DDCC7F
Tritanopia (blue-blind)
#DAC5BB
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cfcf7b;
/* rgb */ color: rgb(207, 207, 123);
/* oklch */ color: oklch(83.6% 0.107 108.5);
Tailwind
colors: {
  custom: {
    50: '#dfdda2',
    500: '#cfcf7b',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf7b;
$custom-light: #dfdda2;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf7b",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 123
  },
  "hsl": {
    "h": 60,
    "s": 46.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.83599,
    "c": 0.10656,
    "h": 108.5
  },
  "luminance": 0.59321
}

Semantic roles & 50–950 ramp

primary
#CFCF7B
secondary
#50509E
accent
#2CBA2C
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CFCF7B

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

Preview Lab → · Contrast checker → · Palette generator →

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