#CFCF8A#CFCF8A

#CFCF8A is a very light, moderate yellow. Relative luminance 0.597; OKLCH L 83.8% C 0.089 H 108.2°. Best body text is #000000 at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#CFCF8A
RGBrgb(207, 207, 138)
HSLhsl(60, 42%, 68%)
HSVhsv(60, 33%, 81%)
CMYKcmyk(0%, 0%, 33.3%, 18.8%)
CIE-LABlab(81.69, -10.48, 34.37)
CIE-LCHlch(81.69, 35.93, 106.97°)
OKLaboklab(83.85% -0.0279 0.085)
OKLCHoklch(83.85% 0.089 108.2)
XYZxyz(52.6328, 59.7270, 32.7956)
Luminance0.5973 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF8A #8A8ACF
analogous
#CFAC8A #CFCF8A #ACCF8A
triadic
#CFCF8A #8ACFCF #CF8ACF
tetradic
#CFCF8A #8ACFAC #8A8ACF #CF8AAC
square
#CFCF8A #8ACFAC #8A8ACF #CF8AAC
split-complementary
#CFCF8A #8AACCF #AC8ACF
monochromatic
#9E9E41 #BDBD5F #CFCF8A #E1E1B5 #F3F3E1

Accessibility & contrast

On white

1.62
#CFCF8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.95
#CFCF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCF8A
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCF8A#FFFFFF#000000##000000
##CFCF8A1.001.6212.9512.95
#FFFFFF1.621.0021.0021.00
#00000012.9521.001.001.00
##00000012.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC985
Deuteranopia (green-blind)
#DBCC8D
Tritanopia (blue-blind)
#D8C7BD
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cfcf8a;
/* rgb */ color: rgb(207, 207, 138);
/* oklch */ color: oklch(83.8% 0.089 108.2);
Tailwind
colors: {
  custom: {
    50: '#deddad',
    500: '#cfcf8a',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf8a;
$custom-light: #deddad;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf8a",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 138
  },
  "hsl": {
    "h": 60,
    "s": 41.818,
    "l": 67.647
  },
  "oklch": {
    "l": 0.83846,
    "c": 0.08943,
    "h": 108.2
  },
  "luminance": 0.59726
}

Semantic roles & 50–950 ramp

primary
#CFCF8A
secondary
#5A5AA4
accent
#31B531
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CFCF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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