#CFC868#CFC868

#CFC868 is a light, moderate yellow. Relative luminance 0.556; OKLCH L 81.9% C 0.119 H 105.0°. Best body text is #000000 at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#CFC868
RGBrgb(207, 200, 104)
HSLhsl(56, 52%, 61%)
HSVhsv(56, 50%, 81%)
CMYKcmyk(0%, 3.4%, 49.8%, 18.8%)
CIE-LABlab(79.37, -10.47, 48.43)
CIE-LCHlch(79.37, 49.55, 102.20°)
OKLaboklab(81.85% -0.0307 0.1147)
OKLCHoklch(81.85% 0.119 105)
XYZxyz(48.8864, 55.5749, 21.2459)
Luminance0.5557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC868 #686FCF
analogous
#CF9468 #CFC868 #A2CF68
triadic
#CFC868 #68CFC8 #C868CF
tetradic
#CFC868 #68CF94 #686FCF #CF68A2
square
#CFC868 #68CF94 #686FCF #CF68A2
split-complementary
#CFC868 #68A2CF #9468CF
monochromatic
#8F882D #BEB53C #CFC868 #DED996 #EDEAC5

Accessibility & contrast

On white

1.73
#CFC868 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.11
#CFC868 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC868
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC868#FFFFFF#000000##000000
##CFC8681.001.7312.1112.11
#FFFFFF1.731.0021.0021.00
#00000012.1121.001.001.00
##00000012.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C25F
Deuteranopia (green-blind)
#D9C76D
Tritanopia (blue-blind)
#DCBDB2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cfc868;
/* rgb */ color: rgb(207, 200, 104);
/* oklch */ color: oklch(81.9% 0.119 105.0);
Tailwind
colors: {
  custom: {
    50: '#e0d895',
    500: '#cfc868',
    950: '#000000',
  },
}
SCSS
$custom: #cfc868;
$custom-light: #e0d895;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc868",
  "rgb": {
    "r": 207,
    "g": 200,
    "b": 104
  },
  "hsl": {
    "h": 55.922,
    "s": 51.759,
    "l": 60.98
  },
  "oklch": {
    "l": 0.81853,
    "c": 0.11873,
    "h": 105
  },
  "luminance": 0.55573
}

Semantic roles & 50–950 ramp

primary
#CFC868
secondary
#464B95
accent
#31BF26
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CFC868

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

Preview Lab → · Contrast checker → · Palette generator →

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