#CFCF7D#CFCF7D

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

Color values

HEX#CFCF7D
RGBrgb(207, 207, 125)
HSLhsl(60, 46%, 65%)
HSVhsv(60, 40%, 81%)
CMYKcmyk(0%, 0%, 39.6%, 18.8%)
CIE-LABlab(81.50, -11.97, 40.71)
CIE-LCHlch(81.50, 42.44, 106.38°)
OKLaboklab(83.63% -0.033 0.099)
OKLCHoklch(83.63% 0.104 108.5)
XYZxyz(51.7474, 59.3728, 28.1322)
Luminance0.5937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF7D #7D7DCF
analogous
#CFA67D #CFCF7D #A6CF7D
triadic
#CFCF7D #7DCFCF #CF7DCF
tetradic
#CFCF7D #7DCFA6 #7D7DCF #CF7DA6
square
#CFCF7D #7DCFA6 #7D7DCF #CF7DA6
split-complementary
#CFCF7D #7DA6CF #A67DCF
monochromatic
#999939 #BEBE50 #CFCF7D #E0E0AA #F0F0D6

Accessibility & contrast

On white

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

On black

12.87
#CFCF7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCF7D
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCF7D#FFFFFF#000000##000000
##CFCF7D1.001.6312.8712.87
#FFFFFF1.631.0021.0021.00
#00000012.8721.001.001.00
##00000012.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC977
Deuteranopia (green-blind)
#DDCC81
Tritanopia (blue-blind)
#DAC6BB
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cfcf7d;
/* rgb */ color: rgb(207, 207, 125);
/* oklch */ color: oklch(83.6% 0.104 108.5);
Tailwind
colors: {
  custom: {
    50: '#dfdda4',
    500: '#cfcf7d',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf7d;
$custom-light: #dfdda4;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf7d",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 125
  },
  "hsl": {
    "h": 60,
    "s": 46.067,
    "l": 65.098
  },
  "oklch": {
    "l": 0.8363,
    "c": 0.10434,
    "h": 108.5
  },
  "luminance": 0.59372
}

Semantic roles & 50–950 ramp

primary
#CFCF7D
secondary
#51519F
accent
#2CB92C
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CFCF7D

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

Preview Lab → · Contrast checker → · Palette generator →

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