#CFC557#CFC557

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

Color values

HEX#CFC557
RGBrgb(207, 197, 87)
HSLhsl(55, 56%, 58%)
HSVhsv(55, 58%, 81%)
CMYKcmyk(0%, 4.8%, 58%, 18.8%)
CIE-LABlab(78.40, -10.32, 55.23)
CIE-LCHlch(78.40, 56.19, 100.58°)
OKLaboklab(81.02% -0.0321 0.1276)
OKLCHoklch(81.02% 0.132 104.1)
XYZxyz(47.4203, 53.8877, 16.9184)
Luminance0.5389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC557 #5761CF
analogous
#CF8957 #CFC557 #9DCF57
triadic
#CFC557 #57CFC5 #C557CF
tetradic
#CFC557 #57CF89 #5761CF #CF579D
square
#CFC557 #57CF89 #5761CF #CF579D
split-complementary
#CFC557 #579DCF #8957CF
monochromatic
#857E26 #B5AA34 #CFC557 #DDD587 #EAE6B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFC557#FFFFFF#000000##000000
##CFC5571.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)
#D5BF4B
Deuteranopia (green-blind)
#D8C45D
Tritanopia (blue-blind)
#DDB9AD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cfc557;
/* rgb */ color: rgb(207, 197, 87);
/* oklch */ color: oklch(81.0% 0.132 104.1);
Tailwind
colors: {
  custom: {
    50: '#e0d68a',
    500: '#cfc557',
    950: '#000000',
  },
}
SCSS
$custom: #cfc557;
$custom-light: #e0d68a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc557",
  "rgb": {
    "r": 207,
    "g": 197,
    "b": 87
  },
  "hsl": {
    "h": 55,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.8102,
    "c": 0.13158,
    "h": 104.1
  },
  "luminance": 0.53886
}

Semantic roles & 50–950 ramp

primary
#CFC557
secondary
#3E448C
accent
#55DF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC557

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

Preview Lab → · Contrast checker → · Palette generator →

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