#CFC667#CFC667

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

Color values

HEX#CFC667
RGBrgb(207, 198, 103)
HSLhsl(55, 52%, 61%)
HSVhsv(55, 50%, 81%)
CMYKcmyk(0%, 4.3%, 50.2%, 18.8%)
CIE-LABlab(78.83, -9.54, 48.27)
CIE-LCHlch(78.83, 49.20, 101.18°)
OKLaboklab(81.42% -0.0281 0.1143)
OKLCHoklch(81.42% 0.118 103.8)
XYZxyz(48.3757, 54.6343, 20.8266)
Luminance0.5463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC667 #6770CF
analogous
#CF9267 #CFC667 #A4CF67
triadic
#CFC667 #67CFC6 #C667CF
tetradic
#CFC667 #67CF92 #6770CF #CF67A4
square
#CFC667 #67CF92 #6770CF #CF67A4
split-complementary
#CFC667 #67A4CF #9267CF
monochromatic
#8F862D #BDB23C #CFC667 #DED796 #ECE9C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFC667#FFFFFF#000000##000000
##CFC6671.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)
#D4C05E
Deuteranopia (green-blind)
#D8C56B
Tritanopia (blue-blind)
#DCBBB0
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc667;
/* rgb */ color: rgb(207, 198, 103);
/* oklch */ color: oklch(81.4% 0.118 103.8);
Tailwind
colors: {
  custom: {
    50: '#e0d795',
    500: '#cfc667',
    950: '#000000',
  },
}
SCSS
$custom: #cfc667;
$custom-light: #e0d795;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc667",
  "rgb": {
    "r": 207,
    "g": 198,
    "b": 103
  },
  "hsl": {
    "h": 54.808,
    "s": 52,
    "l": 60.784
  },
  "oklch": {
    "l": 0.8142,
    "c": 0.11766,
    "h": 103.8
  },
  "luminance": 0.54633
}

Semantic roles & 50–950 ramp

primary
#CFC667
secondary
#454C95
accent
#33BF26
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CFC667

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

Preview Lab → · Contrast checker → · Palette generator →

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