#C7CF55#C7CF55

#C7CF55 is a very light, vivid yellow. Relative luminance 0.574; OKLCH L 82.5% C 0.145 H 112.7°. Best body text is #000000 at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#C7CF55
RGBrgb(199, 207, 85)
HSLhsl(64, 56%, 57%)
HSVhsv(64, 59%, 81%)
CMYKcmyk(3.9%, 0%, 58.9%, 18.8%)
CIE-LABlab(80.42, -18.79, 58.18)
CIE-LCHlch(80.42, 61.14, 107.90°)
OKLaboklab(82.47% -0.0559 0.1338)
OKLCHoklch(82.47% 0.145 112.7)
XYZxyz(47.5069, 57.4246, 17.1740)
Luminance0.5742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CF55 #5D55CF
analogous
#CF9A55 #C7CF55 #8ACF55
triadic
#C7CF55 #55C7CF #CF55C7
tetradic
#C7CF55 #55CF9A #5D55CF #CF558A
square
#C7CF55 #55CF9A #5D55CF #CF558A
split-complementary
#C7CF55 #558ACF #9A55CF
monochromatic
#7E8425 #ACB433 #C7CF55 #D7DC85 #E6EAB4

Accessibility & contrast

On white

1.68
#C7CF55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.48
#C7CF55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CF55
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CF55#FFFFFF#000000##000000
##C7CF551.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC647
Deuteranopia (green-blind)
#DDC95C
Tritanopia (blue-blind)
#D3C4B5
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c7cf55;
/* rgb */ color: rgb(199, 207, 85);
/* oklch */ color: oklch(82.5% 0.145 112.7);
Tailwind
colors: {
  custom: {
    50: '#dbdd8a',
    500: '#c7cf55',
    950: '#000000',
  },
}
SCSS
$custom: #c7cf55;
$custom-light: #dbdd8a;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cf55",
  "rgb": {
    "r": 199,
    "g": 207,
    "b": 85
  },
  "hsl": {
    "h": 63.934,
    "s": 55.963,
    "l": 57.255
  },
  "oklch": {
    "l": 0.8247,
    "c": 0.145,
    "h": 112.7
  },
  "luminance": 0.57424
}

Semantic roles & 50–950 ramp

primary
#C7CF55
secondary
#423D8B
accent
#49DF52
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C7CF55

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

Preview Lab → · Contrast checker → · Palette generator →

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