#CFC558#CFC558

#CFC558 is a light, vivid yellow. Relative luminance 0.539; OKLCH L 81.0% C 0.131 H 104.1°. Best body text is #000000 at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#CFC558
RGBrgb(207, 197, 88)
HSLhsl(55, 55%, 58%)
HSVhsv(55, 57%, 81%)
CMYKcmyk(0%, 4.8%, 57.5%, 18.8%)
CIE-LABlab(78.41, -10.24, 54.79)
CIE-LCHlch(78.41, 55.74, 100.59°)
OKLaboklab(81.03% -0.0318 0.1268)
OKLCHoklch(81.03% 0.131 104.1)
XYZxyz(47.4614, 53.9041, 17.1351)
Luminance0.5390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC558 #5862CF
analogous
#CF8958 #CFC558 #9DCF58
triadic
#CFC558 #58CFC5 #C558CF
tetradic
#CFC558 #58CF89 #5862CF #CF589D
square
#CFC558 #58CF89 #5862CF #CF589D
split-complementary
#CFC558 #589DCF #8958CF
monochromatic
#867E27 #B6AB34 #CFC558 #DDD688 #EAE6B7

Accessibility & contrast

On white

1.78
#CFC558 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.78
#CFC558 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC558
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC558#FFFFFF#000000##000000
##CFC5581.001.7811.7811.78
#FFFFFF1.781.0021.0021.00
#00000011.7821.001.001.00
##00000011.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF4D
Deuteranopia (green-blind)
#D8C45E
Tritanopia (blue-blind)
#DDB9AD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cfc558;
/* rgb */ color: rgb(207, 197, 88);
/* oklch */ color: oklch(81.0% 0.131 104.1);
Tailwind
colors: {
  custom: {
    50: '#e0d68b',
    500: '#cfc558',
    950: '#000000',
  },
}
SCSS
$custom: #cfc558;
$custom-light: #e0d68b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc558",
  "rgb": {
    "r": 207,
    "g": 197,
    "b": 88
  },
  "hsl": {
    "h": 54.958,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.81031,
    "c": 0.13071,
    "h": 104.1
  },
  "luminance": 0.53902
}

Semantic roles & 50–950 ramp

primary
#CFC558
secondary
#3E458D
accent
#56DF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC558

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

Preview Lab → · Contrast checker → · Palette generator →

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