#CFCF92#CFCF92

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

Color values

HEX#CFCF92
RGBrgb(207, 207, 146)
HSLhsl(60, 39%, 69%)
HSVhsv(60, 29%, 81%)
CMYKcmyk(0%, 0%, 29.5%, 18.8%)
CIE-LABlab(81.82, -9.49, 30.41)
CIE-LCHlch(81.82, 31.86, 107.33°)
OKLaboklab(83.99% -0.0247 0.0759)
OKLCHoklch(83.99% 0.08 108)
XYZxyz(53.2335, 59.9672, 35.9591)
Luminance0.5997 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF92 #9292CF
analogous
#CFB192 #CFCF92 #B1CF92
triadic
#CFCF92 #92CFCF #CF92CF
tetradic
#CFCF92 #92CFB1 #9292CF #CF92B1
square
#CFCF92 #92CFB1 #9292CF #CF92B1
split-complementary
#CFCF92 #92B1CF #B192CF
monochromatic
#A0A047 #BCBC68 #CFCF92 #E2E2BC #F4F4E7

Accessibility & contrast

On white

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

On black

12.99
#CFCF92 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCF92
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCF92#FFFFFF#000000##000000
##CFCF921.001.6212.9912.99
#FFFFFF1.621.0021.0021.00
#00000012.9921.001.001.00
##00000012.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9CA8E
Deuteranopia (green-blind)
#DACD94
Tritanopia (blue-blind)
#D8C7BF
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cfcf92;
/* rgb */ color: rgb(207, 207, 146);
/* oklch */ color: oklch(84.0% 0.080 108.0);
Tailwind
colors: {
  custom: {
    50: '#deddb2',
    500: '#cfcf92',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf92;
$custom-light: #deddb2;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf92",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 146
  },
  "hsl": {
    "h": 60,
    "s": 38.854,
    "l": 69.216
  },
  "oklch": {
    "l": 0.83993,
    "c": 0.07984,
    "h": 108
  },
  "luminance": 0.59966
}

Semantic roles & 50–950 ramp

primary
#CFCF92
secondary
#6161A4
accent
#34B234
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CFCF92

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

Preview Lab → · Contrast checker → · Palette generator →

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