#CFCF95#CFCF95

#CFCF95 is a very light, moderate yellow. Relative luminance 0.601; OKLCH L 84.1% C 0.076 H 107.9°. Best body text is #000000 at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#CFCF95
RGBrgb(207, 207, 149)
HSLhsl(60, 38%, 70%)
HSVhsv(60, 28%, 81%)
CMYKcmyk(0%, 0%, 28%, 18.8%)
CIE-LABlab(81.87, -9.10, 28.92)
CIE-LCHlch(81.87, 30.32, 107.47°)
OKLaboklab(84.05% -0.0234 0.0725)
OKLCHoklch(84.05% 0.076 107.9)
XYZxyz(53.4699, 60.0618, 37.2043)
Luminance0.6006 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF95 #9595CF
analogous
#CFB295 #CFCF95 #B2CF95
triadic
#CFCF95 #95CFCF #CF95CF
tetradic
#CFCF95 #95CFB2 #9595CF #CF95B2
square
#CFCF95 #95CFB2 #9595CF #CF95B2
split-complementary
#CFCF95 #95B2CF #B295CF
monochromatic
#A1A149 #BCBC6B #CFCF95 #E2E2BF #F5F5E9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFCF95#FFFFFF#000000##000000
##CFCF951.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)
#D8CA91
Deuteranopia (green-blind)
#DACD97
Tritanopia (blue-blind)
#D7C8C0
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #cfcf95;
/* rgb */ color: rgb(207, 207, 149);
/* oklch */ color: oklch(84.1% 0.076 107.9);
Tailwind
colors: {
  custom: {
    50: '#deddb4',
    500: '#cfcf95',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf95;
$custom-light: #deddb4;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf95",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 149
  },
  "hsl": {
    "h": 60,
    "s": 37.662,
    "l": 69.804
  },
  "oklch": {
    "l": 0.84051,
    "c": 0.07617,
    "h": 107.9
  },
  "luminance": 0.60061
}

Semantic roles & 50–950 ramp

primary
#CFCF95
secondary
#6464A5
accent
#35B135
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CFCF95

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

Preview Lab → · Contrast checker → · Palette generator →

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