#CFCF7A#CFCF7A

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

Color values

HEX#CFCF7A
RGBrgb(207, 207, 122)
HSLhsl(60, 47%, 65%)
HSVhsv(60, 41%, 81%)
CMYKcmyk(0%, 0%, 41.1%, 18.8%)
CIE-LABlab(81.45, -12.29, 42.16)
CIE-LCHlch(81.45, 43.91, 106.25°)
OKLaboklab(83.58% -0.0342 0.1021)
OKLCHoklch(83.58% 0.108 108.5)
XYZxyz(51.5586, 59.2973, 27.1381)
Luminance0.5930 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF7A #7A7ACF
analogous
#CFA57A #CFCF7A #A5CF7A
triadic
#CFCF7A #7ACFCF #CF7ACF
tetradic
#CFCF7A #7ACFA5 #7A7ACF #CF7AA5
square
#CFCF7A #7ACFA5 #7A7ACF #CF7AA5
split-complementary
#CFCF7A #7AA5CF #A57ACF
monochromatic
#989837 #BFBF4D #CFCF7A #DFDFA7 #EFEFD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFCF7A#FFFFFF#000000##000000
##CFCF7A1.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)
#DBC973
Deuteranopia (green-blind)
#DDCC7E
Tritanopia (blue-blind)
#DAC5BA
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cfcf7a;
/* rgb */ color: rgb(207, 207, 122);
/* oklch */ color: oklch(83.6% 0.108 108.5);
Tailwind
colors: {
  custom: {
    50: '#dfdda2',
    500: '#cfcf7a',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf7a;
$custom-light: #dfdda2;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf7a",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 122
  },
  "hsl": {
    "h": 60,
    "s": 46.961,
    "l": 64.51
  },
  "oklch": {
    "l": 0.83583,
    "c": 0.10765,
    "h": 108.5
  },
  "luminance": 0.59296
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFCF7A

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

Preview Lab → · Contrast checker → · Palette generator →

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