#CFC657#CFC657

#CFC657 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#CFC657
RGBrgb(207, 198, 87)
HSLhsl(56, 56%, 58%)
HSVhsv(56, 58%, 81%)
CMYKcmyk(0%, 4.3%, 58%, 18.8%)
CIE-LABlab(78.66, -10.83, 55.53)
CIE-LCHlch(78.66, 56.57, 101.03°)
OKLaboklab(81.23% -0.0335 0.1282)
OKLCHoklch(81.23% 0.133 104.7)
XYZxyz(47.6481, 54.3433, 16.9944)
Luminance0.5434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC657 #5760CF
analogous
#CF8A57 #CFC657 #9CCF57
triadic
#CFC657 #57CFC6 #C657CF
tetradic
#CFC657 #57CF8A #5760CF #CF579C
square
#CFC657 #57CF8A #5760CF #CF579C
split-complementary
#CFC657 #579CCF #8A57CF
monochromatic
#857E26 #B5AB34 #CFC657 #DDD687 #EAE6B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFC657#FFFFFF#000000##000000
##CFC6571.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)
#D6C04B
Deuteranopia (green-blind)
#D9C55D
Tritanopia (blue-blind)
#DDBAAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc657;
/* rgb */ color: rgb(207, 198, 87);
/* oklch */ color: oklch(81.2% 0.133 104.7);
Tailwind
colors: {
  custom: {
    50: '#e0d78a',
    500: '#cfc657',
    950: '#000000',
  },
}
SCSS
$custom: #cfc657;
$custom-light: #e0d78a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc657",
  "rgb": {
    "r": 207,
    "g": 198,
    "b": 87
  },
  "hsl": {
    "h": 55.5,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.81231,
    "c": 0.13255,
    "h": 104.7
  },
  "luminance": 0.54342
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFC657

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

Preview Lab → · Contrast checker → · Palette generator →

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