#CFC992#CFC992

#CFC992 is a very light, moderate yellow. Relative luminance 0.571; OKLCH L 82.7% C 0.073 H 102.6°. Best body text is #000000 at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#CFC992
RGBrgb(207, 201, 146)
HSLhsl(54, 39%, 69%)
HSVhsv(54, 29%, 81%)
CMYKcmyk(0%, 2.9%, 29.5%, 18.8%)
CIE-LABlab(80.24, -6.41, 28.31)
CIE-LCHlch(80.24, 29.02, 102.76°)
OKLaboklab(82.74% -0.0158 0.0709)
OKLCHoklch(82.74% 0.073 102.6)
XYZxyz(51.8074, 57.1150, 35.4837)
Luminance0.5711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC992 #9298CF
analogous
#CFAB92 #CFC992 #B7CF92
triadic
#CFC992 #92CFC9 #C992CF
tetradic
#CFC992 #92CFAB #9298CF #CF92B7
square
#CFC992 #92CFAB #9298CF #CF92B7
split-complementary
#CFC992 #92B7CF #AB92CF
monochromatic
#A09747 #BCB468 #CFC992 #E2DEBC #F4F3E7

Accessibility & contrast

On white

1.69
#CFC992 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.42
#CFC992 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC992
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC992#FFFFFF#000000##000000
##CFC9921.001.6912.4212.42
#FFFFFF1.691.0021.0021.00
#00000012.4221.001.001.00
##00000012.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C58E
Deuteranopia (green-blind)
#D5C994
Tritanopia (blue-blind)
#D8C2BB
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cfc992;
/* rgb */ color: rgb(207, 201, 146);
/* oklch */ color: oklch(82.7% 0.073 102.6);
Tailwind
colors: {
  custom: {
    50: '#ded9b2',
    500: '#cfc992',
    950: '#000000',
  },
}
SCSS
$custom: #cfc992;
$custom-light: #ded9b2;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc992",
  "rgb": {
    "r": 207,
    "g": 201,
    "b": 146
  },
  "hsl": {
    "h": 54.098,
    "s": 38.854,
    "l": 69.216
  },
  "oklch": {
    "l": 0.82744,
    "c": 0.07268,
    "h": 102.6
  },
  "luminance": 0.57114
}

Semantic roles & 50–950 ramp

primary
#CFC992
secondary
#6167A4
accent
#40B234
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CFC992

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

Preview Lab → · Contrast checker → · Palette generator →

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