#CFC668#CFC668

#CFC668 is a light, moderate yellow. Relative luminance 0.547; OKLCH L 81.4% C 0.117 H 103.8°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#CFC668
RGBrgb(207, 198, 104)
HSLhsl(55, 52%, 61%)
HSVhsv(55, 50%, 81%)
CMYKcmyk(0%, 4.3%, 49.8%, 18.8%)
CIE-LABlab(78.84, -9.45, 47.80)
CIE-LCHlch(78.84, 48.72, 101.19°)
OKLaboklab(81.43% -0.0278 0.1133)
OKLCHoklch(81.43% 0.117 103.8)
XYZxyz(48.4262, 54.6545, 21.0925)
Luminance0.5465 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC668 #6871CF
analogous
#CF9268 #CFC668 #A4CF68
triadic
#CFC668 #68CFC6 #C668CF
tetradic
#CFC668 #68CF92 #6871CF #CF68A4
square
#CFC668 #68CF92 #6871CF #CF68A4
split-complementary
#CFC668 #68A4CF #9268CF
monochromatic
#8F872D #BEB23C #CFC668 #DED896 #EDE9C5

Accessibility & contrast

On white

1.76
#CFC668 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.93
#CFC668 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC668
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC668#FFFFFF#000000##000000
##CFC6681.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C060
Deuteranopia (green-blind)
#D8C56C
Tritanopia (blue-blind)
#DCBBB0
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc668;
/* rgb */ color: rgb(207, 198, 104);
/* oklch */ color: oklch(81.4% 0.117 103.8);
Tailwind
colors: {
  custom: {
    50: '#e0d795',
    500: '#cfc668',
    950: '#000000',
  },
}
SCSS
$custom: #cfc668;
$custom-light: #e0d795;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc668",
  "rgb": {
    "r": 207,
    "g": 198,
    "b": 104
  },
  "hsl": {
    "h": 54.757,
    "s": 51.759,
    "l": 60.98
  },
  "oklch": {
    "l": 0.81433,
    "c": 0.11666,
    "h": 103.8
  },
  "luminance": 0.54653
}

Semantic roles & 50–950 ramp

primary
#CFC668
secondary
#464D95
accent
#34BF26
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CFC668

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

Preview Lab → · Contrast checker → · Palette generator →

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