#CFC188#CFC188

#CFC188 is a light, moderate yellow. Relative luminance 0.532; OKLCH L 80.9% C 0.076 H 96.0°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#CFC188
RGBrgb(207, 193, 136)
HSLhsl(48, 43%, 67%)
HSVhsv(48, 34%, 81%)
CMYKcmyk(0%, 6.8%, 34.3%, 18.8%)
CIE-LABlab(77.98, -3.51, 30.53)
CIE-LCHlch(77.98, 30.73, 96.56°)
OKLaboklab(80.9% -0.008 0.0759)
OKLCHoklch(80.9% 0.076 96)
XYZxyz(49.2467, 53.1843, 30.9592)
Luminance0.5318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC188 #8896CF
analogous
#CF9E88 #CFC188 #BACF88
triadic
#CFC188 #88CFC1 #C188CF
tetradic
#CFC188 #88CF9E #8896CF #CF88BA
square
#CFC188 #88CF9E #8896CF #CF88BA
split-complementary
#CFC188 #88BACF #9E88CF
monochromatic
#9D8B3F #BDAA5C #CFC188 #E1D8B4 #F2EEDF

Accessibility & contrast

On white

1.80
#CFC188 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.64
#CFC188 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC188
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC188#FFFFFF#000000##000000
##CFC1881.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCBE84
Deuteranopia (green-blind)
#D0C38A
Tritanopia (blue-blind)
#DAB9B2
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cfc188;
/* rgb */ color: rgb(207, 193, 136);
/* oklch */ color: oklch(80.9% 0.076 96.0);
Tailwind
colors: {
  custom: {
    50: '#ded3ab',
    500: '#cfc188',
    950: '#000000',
  },
}
SCSS
$custom: #cfc188;
$custom-light: #ded3ab;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc188",
  "rgb": {
    "r": 207,
    "g": 193,
    "b": 136
  },
  "hsl": {
    "h": 48.169,
    "s": 42.515,
    "l": 67.255
  },
  "oklch": {
    "l": 0.80901,
    "c": 0.07635,
    "h": 96
  },
  "luminance": 0.53183
}

Semantic roles & 50–950 ramp

primary
#CFC188
secondary
#5867A3
accent
#4AB630
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CFC188

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

Preview Lab → · Contrast checker → · Palette generator →

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