#CFCF93#CFCF93

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

Color values

HEX#CFCF93
RGBrgb(207, 207, 147)
HSLhsl(60, 38%, 69%)
HSVhsv(60, 29%, 81%)
CMYKcmyk(0%, 0%, 29%, 18.8%)
CIE-LABlab(81.84, -9.36, 29.92)
CIE-LCHlch(81.84, 31.35, 107.38°)
OKLaboklab(84.01% -0.0243 0.0748)
OKLCHoklch(84.01% 0.079 108)
XYZxyz(53.3116, 59.9985, 36.3706)
Luminance0.6000 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF93 #9393CF
analogous
#CFB193 #CFCF93 #B1CF93
triadic
#CFCF93 #93CFCF #CF93CF
tetradic
#CFCF93 #93CFB1 #9393CF #CF93B1
square
#CFCF93 #93CFB1 #9393CF #CF93B1
split-complementary
#CFCF93 #93B1CF #B193CF
monochromatic
#A0A047 #BCBC69 #CFCF93 #E2E2BD #F5F5E8

Accessibility & contrast

On white

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

On black

13.00
#CFCF93 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCF93
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCF93#FFFFFF#000000##000000
##CFCF931.001.6213.0013.00
#FFFFFF1.621.0021.0021.00
#00000013.0021.001.001.00
##00000013.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9CA8F
Deuteranopia (green-blind)
#DACD95
Tritanopia (blue-blind)
#D8C8BF
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cfcf93;
/* rgb */ color: rgb(207, 207, 147);
/* oklch */ color: oklch(84.0% 0.079 108.0);
Tailwind
colors: {
  custom: {
    50: '#deddb3',
    500: '#cfcf93',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf93;
$custom-light: #deddb3;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf93",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 147
  },
  "hsl": {
    "h": 60,
    "s": 38.462,
    "l": 69.412
  },
  "oklch": {
    "l": 0.84012,
    "c": 0.07862,
    "h": 108
  },
  "luminance": 0.59998
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFCF93

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

Preview Lab → · Contrast checker → · Palette generator →

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