#CFCF7F#CFCF7F

#CFCF7F is a very light, moderate yellow. Relative luminance 0.594; OKLCH L 83.7% C 0.102 H 108.4°. Best body text is #000000 at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#CFCF7F
RGBrgb(207, 207, 127)
HSLhsl(60, 45%, 65%)
HSVhsv(60, 39%, 81%)
CMYKcmyk(0%, 0%, 38.6%, 18.8%)
CIE-LABlab(81.52, -11.75, 39.74)
CIE-LCHlch(81.52, 41.45, 106.47°)
OKLaboklab(83.66% -0.0323 0.0969)
OKLCHoklch(83.66% 0.102 108.4)
XYZxyz(51.8764, 59.4244, 28.8118)
Luminance0.5942 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF7F #7F7FCF
analogous
#CFA77F #CFCF7F #A7CF7F
triadic
#CFCF7F #7FCFCF #CF7FCF
tetradic
#CFCF7F #7FCFA7 #7F7FCF #CF7FA7
square
#CFCF7F #7FCFA7 #7F7FCF #CF7FA7
split-complementary
#CFCF7F #7FA7CF #A77FCF
monochromatic
#9A9A3A #BEBE52 #CFCF7F #E0E0AC #F0F0D8

Accessibility & contrast

On white

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

On black

12.88
#CFCF7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCF7F
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCF7F#FFFFFF#000000##000000
##CFCF7F1.001.6312.8812.88
#FFFFFF1.631.0021.0021.00
#00000012.8821.001.001.00
##00000012.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC979
Deuteranopia (green-blind)
#DCCC82
Tritanopia (blue-blind)
#DAC6BB
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cfcf7f;
/* rgb */ color: rgb(207, 207, 127);
/* oklch */ color: oklch(83.7% 0.102 108.4);
Tailwind
colors: {
  custom: {
    50: '#dfdda5',
    500: '#cfcf7f',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf7f;
$custom-light: #dfdda5;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf7f",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 127
  },
  "hsl": {
    "h": 60,
    "s": 45.455,
    "l": 65.49
  },
  "oklch": {
    "l": 0.83661,
    "c": 0.10211,
    "h": 108.4
  },
  "luminance": 0.59423
}

Semantic roles & 50–950 ramp

primary
#CFCF7F
secondary
#5353A0
accent
#2DB92D
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CFCF7F

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

Preview Lab → · Contrast checker → · Palette generator →

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