#CFC658#CFC658

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

Color values

HEX#CFC658
RGBrgb(207, 198, 88)
HSLhsl(55, 55%, 58%)
HSVhsv(55, 57%, 81%)
CMYKcmyk(0%, 4.3%, 57.5%, 18.8%)
CIE-LABlab(78.67, -10.75, 55.09)
CIE-LCHlch(78.67, 56.13, 101.05°)
OKLaboklab(81.24% -0.0332 0.1274)
OKLCHoklch(81.24% 0.132 104.6)
XYZxyz(47.6892, 54.3598, 17.2110)
Luminance0.5436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC658 #5861CF
analogous
#CF8A58 #CFC658 #9DCF58
triadic
#CFC658 #58CFC6 #C658CF
tetradic
#CFC658 #58CF8A #5861CF #CF589D
square
#CFC658 #58CF8A #5861CF #CF589D
split-complementary
#CFC658 #589DCF #8A58CF
monochromatic
#867F27 #B6AC34 #CFC658 #DDD688 #EAE6B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFC658#FFFFFF#000000##000000
##CFC6581.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)
#D6C04C
Deuteranopia (green-blind)
#D9C55E
Tritanopia (blue-blind)
#DDBAAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc658;
/* rgb */ color: rgb(207, 198, 88);
/* oklch */ color: oklch(81.2% 0.132 104.6);
Tailwind
colors: {
  custom: {
    50: '#e0d78b',
    500: '#cfc658',
    950: '#000000',
  },
}
SCSS
$custom: #cfc658;
$custom-light: #e0d78b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc658",
  "rgb": {
    "r": 207,
    "g": 198,
    "b": 88
  },
  "hsl": {
    "h": 55.462,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.81242,
    "c": 0.13169,
    "h": 104.6
  },
  "luminance": 0.54358
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFC658

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

Preview Lab → · Contrast checker → · Palette generator →

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