#C7CF58#C7CF58

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

Color values

HEX#C7CF58
RGBrgb(199, 207, 88)
HSLhsl(64, 55%, 58%)
HSVhsv(64, 57%, 81%)
CMYKcmyk(3.9%, 0%, 57.5%, 18.8%)
CIE-LABlab(80.45, -18.57, 56.90)
CIE-LCHlch(80.45, 59.85, 108.08°)
OKLaboklab(82.5% -0.0549 0.1315)
OKLCHoklch(82.5% 0.142 112.7)
XYZxyz(47.6286, 57.4733, 17.8151)
Luminance0.5747 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CF58 #6058CF
analogous
#CF9C58 #C7CF58 #8BCF58
triadic
#C7CF58 #58C7CF #CF58C7
tetradic
#C7CF58 #58CF9C #6058CF #CF588B
square
#C7CF58 #58CF9C #6058CF #CF588B
split-complementary
#C7CF58 #588BCF #9C58CF
monochromatic
#808627 #ADB634 #C7CF58 #D7DD88 #E7EAB7

Accessibility & contrast

On white

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

On black

12.49
#C7CF58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CF58
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CF58#FFFFFF#000000##000000
##C7CF581.001.6812.4912.49
#FFFFFF1.681.0021.0021.00
#00000012.4921.001.001.00
##00000012.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC64B
Deuteranopia (green-blind)
#DDC95F
Tritanopia (blue-blind)
#D3C4B5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #c7cf58;
/* rgb */ color: rgb(199, 207, 88);
/* oklch */ color: oklch(82.5% 0.142 112.7);
Tailwind
colors: {
  custom: {
    50: '#dadd8b',
    500: '#c7cf58',
    950: '#000000',
  },
}
SCSS
$custom: #c7cf58;
$custom-light: #dadd8b;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cf58",
  "rgb": {
    "r": 199,
    "g": 207,
    "b": 88
  },
  "hsl": {
    "h": 64.034,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.825,
    "c": 0.14246,
    "h": 112.7
  },
  "luminance": 0.57472
}

Semantic roles & 50–950 ramp

primary
#C7CF58
secondary
#443E8D
accent
#49DF53
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C7CF58

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

Preview Lab → · Contrast checker → · Palette generator →

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