#CFC688#CFC688

#CFC688 is a light, moderate yellow. Relative luminance 0.554; OKLCH L 81.9% C 0.081 H 100.9°. Best body text is #000000 at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#CFC688
RGBrgb(207, 198, 136)
HSLhsl(52, 43%, 67%)
HSVhsv(52, 34%, 81%)
CMYKcmyk(0%, 4.3%, 34.3%, 18.8%)
CIE-LABlab(79.29, -6.11, 32.25)
CIE-LCHlch(79.29, 32.82, 100.73°)
OKLaboklab(81.93% -0.0155 0.08)
OKLCHoklch(81.93% 0.081 100.9)
XYZxyz(50.3708, 55.4324, 31.3339)
Luminance0.5543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC688 #8891CF
analogous
#CFA288 #CFC688 #B5CF88
triadic
#CFC688 #88CFC6 #C688CF
tetradic
#CFC688 #88CFA2 #8891CF #CF88B5
square
#CFC688 #88CFA2 #8891CF #CF88B5
split-complementary
#CFC688 #88B5CF #A288CF
monochromatic
#9D913F #BDB15C #CFC688 #E1DBB4 #F2F0DF

Accessibility & contrast

On white

1.74
#CFC688 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.09
#CFC688 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC688
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC688#FFFFFF#000000##000000
##CFC6881.001.7412.0912.09
#FFFFFF1.741.0021.0021.00
#00000012.0921.001.001.00
##00000012.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1C284
Deuteranopia (green-blind)
#D4C68A
Tritanopia (blue-blind)
#D9BEB6
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cfc688;
/* rgb */ color: rgb(207, 198, 136);
/* oklch */ color: oklch(81.9% 0.081 100.9);
Tailwind
colors: {
  custom: {
    50: '#ded7ab',
    500: '#cfc688',
    950: '#000000',
  },
}
SCSS
$custom: #cfc688;
$custom-light: #ded7ab;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc688",
  "rgb": {
    "r": 207,
    "g": 198,
    "b": 136
  },
  "hsl": {
    "h": 52.394,
    "s": 42.515,
    "l": 67.255
  },
  "oklch": {
    "l": 0.81933,
    "c": 0.08144,
    "h": 100.9
  },
  "luminance": 0.55431
}

Semantic roles & 50–950 ramp

primary
#CFC688
secondary
#5862A3
accent
#41B630
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CFC688

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

Preview Lab → · Contrast checker → · Palette generator →

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