#CFC684#CFC684

#CFC684 is a light, moderate yellow. Relative luminance 0.553; OKLCH L 81.9% C 0.086 H 101.4°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#CFC684
RGBrgb(207, 198, 132)
HSLhsl(53, 44%, 66%)
HSVhsv(53, 36%, 81%)
CMYKcmyk(0%, 4.3%, 36.2%, 18.8%)
CIE-LABlab(79.23, -6.58, 34.24)
CIE-LCHlch(79.23, 34.86, 100.88°)
OKLaboklab(81.86% -0.0171 0.0845)
OKLCHoklch(81.86% 0.086 101.4)
XYZxyz(50.0918, 55.3208, 29.8646)
Luminance0.5532 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC684 #848DCF
analogous
#CFA184 #CFC684 #B3CF84
triadic
#CFC684 #84CFC6 #C684CF
tetradic
#CFC684 #84CFA1 #848DCF #CF84B3
square
#CFC684 #84CFA1 #848DCF #CF84B3
split-complementary
#CFC684 #84B3CF #A184CF
monochromatic
#9C903D #BEB258 #CFC684 #E0DAB0 #F1EFDC

Accessibility & contrast

On white

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

On black

12.06
#CFC684 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC684
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC684#FFFFFF#000000##000000
##CFC6841.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C27F
Deuteranopia (green-blind)
#D5C687
Tritanopia (blue-blind)
#DABDB5
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cfc684;
/* rgb */ color: rgb(207, 198, 132);
/* oklch */ color: oklch(81.9% 0.086 101.4);
Tailwind
colors: {
  custom: {
    50: '#dfd7a8',
    500: '#cfc684',
    950: '#000000',
  },
}
SCSS
$custom: #cfc684;
$custom-light: #dfd7a8;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc684",
  "rgb": {
    "r": 207,
    "g": 198,
    "b": 132
  },
  "hsl": {
    "h": 52.8,
    "s": 43.86,
    "l": 66.471
  },
  "oklch": {
    "l": 0.81862,
    "c": 0.08616,
    "h": 101.4
  },
  "luminance": 0.5532
}

Semantic roles & 50–950 ramp

primary
#CFC684
secondary
#565FA2
accent
#3FB72F
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#151410
muted
#848380

Preview Lab

Preview with #CFC684

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

Preview Lab → · Contrast checker → · Palette generator →

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