#CFC66F#CFC66F

#CFC66F is a light, moderate yellow. Relative luminance 0.548; OKLCH L 81.5% C 0.109 H 103.3°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#CFC66F
RGBrgb(207, 198, 111)
HSLhsl(54, 50%, 62%)
HSVhsv(54, 46%, 81%)
CMYKcmyk(0%, 4.3%, 46.4%, 18.8%)
CIE-LABlab(78.93, -8.81, 44.48)
CIE-LCHlch(78.93, 45.35, 101.20°)
OKLaboklab(81.53% -0.0252 0.1066)
OKLCHoklch(81.53% 0.109 103.3)
XYZxyz(48.7966, 54.8027, 23.0434)
Luminance0.5480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC66F #6F78CF
analogous
#CF966F #CFC66F #A8CF6F
triadic
#CFC66F #6FCFC6 #C66FCF
tetradic
#CFC66F #6FCF96 #6F78CF #CF6FA8
square
#CFC66F #6FCF96 #6F78CF #CF6FA8
split-complementary
#CFC66F #6FA8CF #966FCF
monochromatic
#938A31 #C0B441 #CFC66F #DED89D #EEEACB

Accessibility & contrast

On white

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

On black

11.96
#CFC66F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC66F
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC66F#FFFFFF#000000##000000
##CFC66F1.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C168
Deuteranopia (green-blind)
#D7C673
Tritanopia (blue-blind)
#DBBCB1
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc66f;
/* rgb */ color: rgb(207, 198, 111);
/* oklch */ color: oklch(81.5% 0.109 103.3);
Tailwind
colors: {
  custom: {
    50: '#dfd79a',
    500: '#cfc66f',
    950: '#000000',
  },
}
SCSS
$custom: #cfc66f;
$custom-light: #dfd79a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc66f",
  "rgb": {
    "r": 207,
    "g": 198,
    "b": 111
  },
  "hsl": {
    "h": 54.375,
    "s": 50,
    "l": 62.353
  },
  "oklch": {
    "l": 0.81528,
    "c": 0.10949,
    "h": 103.3
  },
  "luminance": 0.54801
}

Semantic roles & 50–950 ramp

primary
#CFC66F
secondary
#4A5199
accent
#36BD28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFC66F

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

Preview Lab → · Contrast checker → · Palette generator →

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