#CFC288#CFC288

#CFC288 is a light, moderate yellow. Relative luminance 0.536; OKLCH L 81.1% C 0.077 H 97.0°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#CFC288
RGBrgb(207, 194, 136)
HSLhsl(49, 43%, 67%)
HSVhsv(49, 34%, 81%)
CMYKcmyk(0%, 6.3%, 34.3%, 18.8%)
CIE-LABlab(78.24, -4.03, 30.87)
CIE-LCHlch(78.24, 31.13, 97.44°)
OKLaboklab(81.11% -0.0095 0.0767)
OKLCHoklch(81.11% 0.077 97)
XYZxyz(49.4685, 53.6279, 31.0331)
Luminance0.5363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC288 #8895CF
analogous
#CF9F88 #CFC288 #B9CF88
triadic
#CFC288 #88CFC2 #C288CF
tetradic
#CFC288 #88CF9F #8895CF #CF88B9
square
#CFC288 #88CF9F #8895CF #CF88B9
split-complementary
#CFC288 #88B9CF #9F88CF
monochromatic
#9D8C3F #BDAC5C #CFC288 #E1D8B4 #F2EFDF

Accessibility & contrast

On white

1.79
#CFC288 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.73
#CFC288 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC288
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC288#FFFFFF#000000##000000
##CFC2881.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBF84
Deuteranopia (green-blind)
#D1C48A
Tritanopia (blue-blind)
#DABAB3
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cfc288;
/* rgb */ color: rgb(207, 194, 136);
/* oklch */ color: oklch(81.1% 0.077 97.0);
Tailwind
colors: {
  custom: {
    50: '#ded4ab',
    500: '#cfc288',
    950: '#000000',
  },
}
SCSS
$custom: #cfc288;
$custom-light: #ded4ab;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc288",
  "rgb": {
    "r": 207,
    "g": 194,
    "b": 136
  },
  "hsl": {
    "h": 49.014,
    "s": 42.515,
    "l": 67.255
  },
  "oklch": {
    "l": 0.81107,
    "c": 0.07732,
    "h": 97
  },
  "luminance": 0.53627
}

Semantic roles & 50–950 ramp

primary
#CFC288
secondary
#5866A3
accent
#48B630
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CFC288

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

Preview Lab → · Contrast checker → · Palette generator →

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