#CFCF94#CFCF94

#CFCF94 is a very light, moderate yellow. Relative luminance 0.600; OKLCH L 84.0% C 0.077 H 108.0°. Best body text is #000000 at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#CFCF94
RGBrgb(207, 207, 148)
HSLhsl(60, 38%, 70%)
HSVhsv(60, 29%, 81%)
CMYKcmyk(0%, 0%, 28.5%, 18.8%)
CIE-LABlab(81.85, -9.23, 29.42)
CIE-LCHlch(81.85, 30.83, 107.43°)
OKLaboklab(84.03% -0.0239 0.0736)
OKLCHoklch(84.03% 0.077 108)
XYZxyz(53.3904, 60.0300, 36.7856)
Luminance0.6003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF94 #9494CF
analogous
#CFB294 #CFCF94 #B2CF94
triadic
#CFCF94 #94CFCF #CF94CF
tetradic
#CFCF94 #94CFB2 #9494CF #CF94B2
square
#CFCF94 #94CFB2 #9494CF #CF94B2
split-complementary
#CFCF94 #94B2CF #B294CF
monochromatic
#A1A148 #BCBC6A #CFCF94 #E2E2BE #F5F5E8

Accessibility & contrast

On white

1.61
#CFCF94 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.01
#CFCF94 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCF94
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCF94#FFFFFF#000000##000000
##CFCF941.001.6113.0113.01
#FFFFFF1.611.0021.0021.00
#00000013.0121.001.001.00
##00000013.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9CA90
Deuteranopia (green-blind)
#DACD96
Tritanopia (blue-blind)
#D7C8C0
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cfcf94;
/* rgb */ color: rgb(207, 207, 148);
/* oklch */ color: oklch(84.0% 0.077 108.0);
Tailwind
colors: {
  custom: {
    50: '#deddb4',
    500: '#cfcf94',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf94;
$custom-light: #deddb4;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf94",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 148
  },
  "hsl": {
    "h": 60,
    "s": 38.065,
    "l": 69.608
  },
  "oklch": {
    "l": 0.84031,
    "c": 0.07739,
    "h": 108
  },
  "luminance": 0.60029
}

Semantic roles & 50–950 ramp

primary
#CFCF94
secondary
#6363A4
accent
#34B134
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CFCF94

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

Preview Lab → · Contrast checker → · Palette generator →

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