#CFC654#CFC654

#CFC654 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.2% C 0.135 H 104.8°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#CFC654
RGBrgb(207, 198, 84)
HSLhsl(56, 56%, 57%)
HSVhsv(56, 59%, 81%)
CMYKcmyk(0%, 4.3%, 59.4%, 18.8%)
CIE-LABlab(78.63, -11.04, 56.83)
CIE-LCHlch(78.63, 57.89, 100.99°)
OKLaboklab(81.2% -0.0345 0.1306)
OKLCHoklch(81.2% 0.135 104.8)
XYZxyz(47.5281, 54.2953, 16.3622)
Luminance0.5429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC654 #545DCF
analogous
#CF8954 #CFC654 #9ACF54
triadic
#CFC654 #54CFC6 #C654CF
tetradic
#CFC654 #54CF89 #545DCF #CF549A
square
#CFC654 #54CF89 #545DCF #CF549A
split-complementary
#CFC654 #549ACF #8954CF
monochromatic
#847D25 #B3AA32 #CFC654 #DCD684 #EAE6B4

Accessibility & contrast

On white

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

On black

11.86
#CFC654 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC654
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC654#FFFFFF#000000##000000
##CFC6541.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C047
Deuteranopia (green-blind)
#D9C55A
Tritanopia (blue-blind)
#DDBAAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc654;
/* rgb */ color: rgb(207, 198, 84);
/* oklch */ color: oklch(81.2% 0.135 104.8);
Tailwind
colors: {
  custom: {
    50: '#e0d788',
    500: '#cfc654',
    950: '#000000',
  },
}
SCSS
$custom: #cfc654;
$custom-light: #e0d788;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc654",
  "rgb": {
    "r": 207,
    "g": 198,
    "b": 84
  },
  "hsl": {
    "h": 55.61,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.812,
    "c": 0.13511,
    "h": 104.8
  },
  "luminance": 0.54294
}

Semantic roles & 50–950 ramp

primary
#CFC654
secondary
#3C428B
accent
#53DF48
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC654

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

Preview Lab → · Contrast checker → · Palette generator →

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