#CFC651#CFC651

#CFC651 is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.2% C 0.138 H 104.9°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#CFC651
RGBrgb(207, 198, 81)
HSLhsl(56, 57%, 56%)
HSVhsv(56, 61%, 81%)
CMYKcmyk(0%, 4.3%, 60.9%, 18.8%)
CIE-LABlab(78.61, -11.25, 58.11)
CIE-LCHlch(78.61, 59.19, 100.95°)
OKLaboklab(81.17% -0.0354 0.133)
OKLCHoklch(81.17% 0.138 104.9)
XYZxyz(47.4131, 54.2493, 15.7566)
Luminance0.5425 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC651 #515ACF
analogous
#CF8751 #CFC651 #99CF51
triadic
#CFC651 #51CFC6 #C651CF
tetradic
#CFC651 #51CF87 #515ACF #CF5199
square
#CFC651 #51CF87 #515ACF #CF5199
split-complementary
#CFC651 #5199CF #8751CF
monochromatic
#827B24 #B2A931 #CFC651 #DCD681 #E9E5B1

Accessibility & contrast

On white

1.77
#CFC651 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.85
#CFC651 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC651
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC651#FFFFFF#000000##000000
##CFC6511.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF44
Deuteranopia (green-blind)
#D9C558
Tritanopia (blue-blind)
#DDBAAD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cfc651;
/* rgb */ color: rgb(207, 198, 81);
/* oklch */ color: oklch(81.2% 0.138 104.9);
Tailwind
colors: {
  custom: {
    50: '#e1d787',
    500: '#cfc651',
    950: '#000000',
  },
}
SCSS
$custom: #cfc651;
$custom-light: #e1d787;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc651",
  "rgb": {
    "r": 207,
    "g": 198,
    "b": 81
  },
  "hsl": {
    "h": 55.714,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.8117,
    "c": 0.1376,
    "h": 104.9
  },
  "luminance": 0.54248
}

Semantic roles & 50–950 ramp

primary
#CFC651
secondary
#3B4189
accent
#53E048
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC651

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

Preview Lab → · Contrast checker → · Palette generator →

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