#CFC66A#CFC66A

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

Color values

HEX#CFC66A
RGBrgb(207, 198, 106)
HSLhsl(55, 51%, 61%)
HSVhsv(55, 49%, 81%)
CMYKcmyk(0%, 4.3%, 48.8%, 18.8%)
CIE-LABlab(78.87, -9.27, 46.86)
CIE-LCHlch(78.87, 47.77, 101.20°)
OKLaboklab(81.46% -0.027 0.1114)
OKLCHoklch(81.46% 0.115 103.6)
XYZxyz(48.5290, 54.6957, 21.6339)
Luminance0.5469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC66A #6A73CF
analogous
#CF946A #CFC66A #A6CF6A
triadic
#CFC66A #6ACFC6 #C66ACF
tetradic
#CFC66A #6ACF94 #6A73CF #CF6AA6
square
#CFC66A #6ACF94 #6A73CF #CF6AA6
split-complementary
#CFC66A #6AA6CF #946ACF
monochromatic
#90872E #BEB33D #CFC66A #DED898 #EDE9C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFC66A#FFFFFF#000000##000000
##CFC66A1.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)
#D4C062
Deuteranopia (green-blind)
#D7C56E
Tritanopia (blue-blind)
#DCBBB1
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc66a;
/* rgb */ color: rgb(207, 198, 106);
/* oklch */ color: oklch(81.5% 0.115 103.6);
Tailwind
colors: {
  custom: {
    50: '#dfd797',
    500: '#cfc66a',
    950: '#000000',
  },
}
SCSS
$custom: #cfc66a;
$custom-light: #dfd797;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc66a",
  "rgb": {
    "r": 207,
    "g": 198,
    "b": 106
  },
  "hsl": {
    "h": 54.653,
    "s": 51.269,
    "l": 61.373
  },
  "oklch": {
    "l": 0.81459,
    "c": 0.11465,
    "h": 103.6
  },
  "luminance": 0.54694
}

Semantic roles & 50–950 ramp

primary
#CFC66A
secondary
#474E96
accent
#34BF27
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140D
muted
#84837F

Preview Lab

Preview with #CFC66A

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

Preview Lab → · Contrast checker → · Palette generator →

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