#CFC66B#CFC66B

#CFC66B is a light, moderate yellow. Relative luminance 0.547; OKLCH L 81.5% C 0.114 H 103.6°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#CFC66B
RGBrgb(207, 198, 107)
HSLhsl(55, 51%, 62%)
HSVhsv(55, 48%, 81%)
CMYKcmyk(0%, 4.3%, 48.3%, 18.8%)
CIE-LABlab(78.88, -9.18, 46.38)
CIE-LCHlch(78.88, 47.28, 101.20°)
OKLaboklab(81.47% -0.0267 0.1105)
OKLCHoklch(81.47% 0.114 103.6)
XYZxyz(48.5813, 54.7166, 21.9093)
Luminance0.5472 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC66B #6B74CF
analogous
#CF946B #CFC66B #A6CF6B
triadic
#CFC66B #6BCFC6 #C66BCF
tetradic
#CFC66B #6BCF94 #6B74CF #CF6BA6
square
#CFC66B #6BCF94 #6B74CF #CF6BA6
split-complementary
#CFC66B #6BA6CF #946BCF
monochromatic
#91882F #BFB33E #CFC66B #DED899 #EDEAC7

Accessibility & contrast

On white

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

On black

11.94
#CFC66B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC66B
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC66B#FFFFFF#000000##000000
##CFC66B1.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C063
Deuteranopia (green-blind)
#D7C56F
Tritanopia (blue-blind)
#DCBBB1
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc66b;
/* rgb */ color: rgb(207, 198, 107);
/* oklch */ color: oklch(81.5% 0.114 103.6);
Tailwind
colors: {
  custom: {
    50: '#dfd797',
    500: '#cfc66b',
    950: '#000000',
  },
}
SCSS
$custom: #cfc66b;
$custom-light: #dfd797;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc66b",
  "rgb": {
    "r": 207,
    "g": 198,
    "b": 107
  },
  "hsl": {
    "h": 54.6,
    "s": 51.02,
    "l": 61.569
  },
  "oklch": {
    "l": 0.81473,
    "c": 0.11364,
    "h": 103.6
  },
  "luminance": 0.54715
}

Semantic roles & 50–950 ramp

primary
#CFC66B
secondary
#474F97
accent
#35BE27
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFC66B

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

Preview Lab → · Contrast checker → · Palette generator →

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