#CFC551#CFC551

#CFC551 is a light, vivid yellow. Relative luminance 0.538; OKLCH L 81.0% C 0.137 H 104.4°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#CFC551
RGBrgb(207, 197, 81)
HSLhsl(55, 57%, 56%)
HSVhsv(55, 61%, 81%)
CMYKcmyk(0%, 4.8%, 60.9%, 18.8%)
CIE-LABlab(78.34, -10.74, 57.82)
CIE-LCHlch(78.34, 58.81, 100.52°)
OKLaboklab(80.96% -0.0339 0.1324)
OKLCHoklch(80.96% 0.137 104.4)
XYZxyz(47.1853, 53.7937, 15.6807)
Luminance0.5379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC551 #515BCF
analogous
#CF8651 #CFC551 #9ACF51
triadic
#CFC551 #51CFC5 #C551CF
tetradic
#CFC551 #51CF86 #515BCF #CF519A
square
#CFC551 #51CF86 #515BCF #CF519A
split-complementary
#CFC551 #519ACF #8651CF
monochromatic
#827A24 #B2A831 #CFC551 #DCD581 #E9E5B1

Accessibility & contrast

On white

1.79
#CFC551 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.76
#CFC551 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC551
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC551#FFFFFF#000000##000000
##CFC5511.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF44
Deuteranopia (green-blind)
#D9C457
Tritanopia (blue-blind)
#DDB9AC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cfc551;
/* rgb */ color: rgb(207, 197, 81);
/* oklch */ color: oklch(81.0% 0.137 104.4);
Tailwind
colors: {
  custom: {
    50: '#e1d687',
    500: '#cfc551',
    950: '#000000',
  },
}
SCSS
$custom: #cfc551;
$custom-light: #e1d687;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc551",
  "rgb": {
    "r": 207,
    "g": 197,
    "b": 81
  },
  "hsl": {
    "h": 55.238,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.80959,
    "c": 0.13664,
    "h": 104.4
  },
  "luminance": 0.53792
}

Semantic roles & 50–950 ramp

primary
#CFC551
secondary
#3B4189
accent
#54E048
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFC551

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

Preview Lab → · Contrast checker → · Palette generator →

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