#CFC661#CFC661

#CFC661 is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.3% C 0.123 H 104.2°. Best body text is #000000 at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#CFC661
RGBrgb(207, 198, 97)
HSLhsl(55, 53%, 60%)
HSVhsv(55, 53%, 81%)
CMYKcmyk(0%, 4.3%, 53.1%, 18.8%)
CIE-LABlab(78.76, -10.05, 51.04)
CIE-LCHlch(78.76, 52.02, 101.14°)
OKLaboklab(81.35% -0.0302 0.1197)
OKLCHoklch(81.35% 0.123 104.2)
XYZxyz(48.0853, 54.5182, 19.2971)
Luminance0.5452 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC661 #616ACF
analogous
#CF8F61 #CFC661 #A1CF61
triadic
#CFC661 #61CFC6 #C661CF
tetradic
#CFC661 #61CF8F #616ACF #CF61A1
square
#CFC661 #61CF8F #616ACF #CF61A1
split-complementary
#CFC661 #61A1CF #8F61CF
monochromatic
#8B832A #BAB039 #CFC661 #DDD790 #ECE8BF

Accessibility & contrast

On white

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

On black

11.90
#CFC661 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC661
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC661#FFFFFF#000000##000000
##CFC6611.001.7611.9011.90
#FFFFFF1.761.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C057
Deuteranopia (green-blind)
#D8C566
Tritanopia (blue-blind)
#DCBBAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc661;
/* rgb */ color: rgb(207, 198, 97);
/* oklch */ color: oklch(81.3% 0.123 104.2);
Tailwind
colors: {
  custom: {
    50: '#e0d791',
    500: '#cfc661',
    950: '#000000',
  },
}
SCSS
$custom: #cfc661;
$custom-light: #e0d791;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc661",
  "rgb": {
    "r": 207,
    "g": 198,
    "b": 97
  },
  "hsl": {
    "h": 55.091,
    "s": 53.398,
    "l": 59.608
  },
  "oklch": {
    "l": 0.81345,
    "c": 0.12348,
    "h": 104.2
  },
  "luminance": 0.54517
}

Semantic roles & 50–950 ramp

primary
#CFC661
secondary
#424992
accent
#57DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #CFC661

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

Preview Lab → · Contrast checker → · Palette generator →

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