#CFC656#CFC656

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

Color values

HEX#CFC656
RGBrgb(207, 198, 86)
HSLhsl(56, 56%, 57%)
HSVhsv(56, 58%, 81%)
CMYKcmyk(0%, 4.3%, 58.5%, 18.8%)
CIE-LABlab(78.65, -10.90, 55.96)
CIE-LCHlch(78.65, 57.02, 101.02°)
OKLaboklab(81.22% -0.0338 0.1291)
OKLCHoklch(81.22% 0.133 104.7)
XYZxyz(47.6075, 54.3271, 16.7807)
Luminance0.5433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC656 #565FCF
analogous
#CF8956 #CFC656 #9CCF56
triadic
#CFC656 #56CFC6 #C656CF
tetradic
#CFC656 #56CF89 #565FCF #CF569C
square
#CFC656 #56CF89 #565FCF #CF569C
split-complementary
#CFC656 #569CCF #8956CF
monochromatic
#857E26 #B5AB33 #CFC656 #DDD686 #EAE6B5

Accessibility & contrast

On white

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

On black

11.87
#CFC656 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC656
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC656#FFFFFF#000000##000000
##CFC6561.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C04A
Deuteranopia (green-blind)
#D9C55C
Tritanopia (blue-blind)
#DDBAAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc656;
/* rgb */ color: rgb(207, 198, 86);
/* oklch */ color: oklch(81.2% 0.133 104.7);
Tailwind
colors: {
  custom: {
    50: '#e0d78a',
    500: '#cfc656',
    950: '#000000',
  },
}
SCSS
$custom: #cfc656;
$custom-light: #e0d78a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc656",
  "rgb": {
    "r": 207,
    "g": 198,
    "b": 86
  },
  "hsl": {
    "h": 55.537,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.81221,
    "c": 0.13342,
    "h": 104.7
  },
  "luminance": 0.54325
}

Semantic roles & 50–950 ramp

primary
#CFC656
secondary
#3D438C
accent
#54DF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC656

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

Preview Lab → · Contrast checker → · Palette generator →

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