#CFC993#CFC993

#CFC993 is a very light, moderate yellow. Relative luminance 0.571; OKLCH L 82.8% C 0.071 H 102.5°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#CFC993
RGBrgb(207, 201, 147)
HSLhsl(54, 38%, 69%)
HSVhsv(54, 29%, 81%)
CMYKcmyk(0%, 2.9%, 29%, 18.8%)
CIE-LABlab(80.26, -6.28, 27.81)
CIE-LCHlch(80.26, 28.51, 102.73°)
OKLaboklab(82.76% -0.0154 0.0698)
OKLCHoklch(82.76% 0.071 102.5)
XYZxyz(51.8855, 57.1463, 35.8952)
Luminance0.5715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC993 #9399CF
analogous
#CFAB93 #CFC993 #B7CF93
triadic
#CFC993 #93CFC9 #C993CF
tetradic
#CFC993 #93CFAB #9399CF #CF93B7
square
#CFC993 #93CFAB #9399CF #CF93B7
split-complementary
#CFC993 #93B7CF #AB93CF
monochromatic
#A09747 #BCB469 #CFC993 #E2DEBD #F5F3E8

Accessibility & contrast

On white

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

On black

12.43
#CFC993 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC993
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC993#FFFFFF#000000##000000
##CFC9931.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfc993;
/* rgb */ color: rgb(207, 201, 147);
/* oklch */ color: oklch(82.8% 0.071 102.5);
Tailwind
colors: {
  custom: {
    50: '#ded9b3',
    500: '#cfc993',
    950: '#000000',
  },
}
SCSS
$custom: #cfc993;
$custom-light: #ded9b3;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc993",
  "rgb": {
    "r": 207,
    "g": 201,
    "b": 147
  },
  "hsl": {
    "h": 54,
    "s": 38.462,
    "l": 69.412
  },
  "oklch": {
    "l": 0.82764,
    "c": 0.07146,
    "h": 102.5
  },
  "luminance": 0.57145
}

Semantic roles & 50–950 ramp

primary
#CFC993
secondary
#6268A4
accent
#41B134
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CFC993

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

Preview Lab → · Contrast checker → · Palette generator →

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