#CFCC92#CFCC92

#CFCC92 is a very light, moderate yellow. Relative luminance 0.585; OKLCH L 83.4% C 0.076 H 105.4°. Best body text is #000000 at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#CFCC92
RGBrgb(207, 204, 146)
HSLhsl(57, 39%, 69%)
HSVhsv(57, 29%, 81%)
CMYKcmyk(0%, 1.4%, 29.5%, 18.8%)
CIE-LABlab(81.03, -7.96, 29.36)
CIE-LCHlch(81.03, 30.42, 105.16°)
OKLaboklab(83.37% -0.0203 0.0734)
OKLCHoklch(83.37% 0.076 105.4)
XYZxyz(52.5136, 58.5274, 35.7191)
Luminance0.5853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCC92 #9295CF
analogous
#CFAE92 #CFCC92 #B4CF92
triadic
#CFCC92 #92CFCC #CC92CF
tetradic
#CFCC92 #92CFAE #9295CF #CF92B4
square
#CFCC92 #92CFAE #9295CF #CF92B4
split-complementary
#CFCC92 #92B4CF #AE92CF
monochromatic
#A09C47 #BCB868 #CFCC92 #E2E0BC #F4F4E7

Accessibility & contrast

On white

1.65
#CFCC92 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.71
#CFCC92 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCC92
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCC92#FFFFFF#000000##000000
##CFCC921.001.6512.7112.71
#FFFFFF1.651.0021.0021.00
#00000012.7121.001.001.00
##00000012.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C88E
Deuteranopia (green-blind)
#D8CB94
Tritanopia (blue-blind)
#D8C5BD
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfcc92;
/* rgb */ color: rgb(207, 204, 146);
/* oklch */ color: oklch(83.4% 0.076 105.4);
Tailwind
colors: {
  custom: {
    50: '#dedbb2',
    500: '#cfcc92',
    950: '#000000',
  },
}
SCSS
$custom: #cfcc92;
$custom-light: #dedbb2;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcc92",
  "rgb": {
    "r": 207,
    "g": 204,
    "b": 146
  },
  "hsl": {
    "h": 57.049,
    "s": 38.854,
    "l": 69.216
  },
  "oklch": {
    "l": 0.83367,
    "c": 0.07619,
    "h": 105.4
  },
  "luminance": 0.58526
}

Semantic roles & 50–950 ramp

primary
#CFCC92
secondary
#6164A4
accent
#3AB234
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #CFCC92

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

Preview Lab → · Contrast checker → · Palette generator →

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