#C7CF57#C7CF57

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

Color values

HEX#C7CF57
RGBrgb(199, 207, 87)
HSLhsl(64, 56%, 58%)
HSVhsv(64, 58%, 81%)
CMYKcmyk(3.9%, 0%, 58%, 18.8%)
CIE-LABlab(80.44, -18.64, 57.33)
CIE-LCHlch(80.44, 60.28, 108.02°)
OKLaboklab(82.49% -0.0552 0.1322)
OKLCHoklch(82.49% 0.143 112.7)
XYZxyz(47.5874, 57.4568, 17.5984)
Luminance0.5746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CF57 #5F57CF
analogous
#CF9B57 #C7CF57 #8BCF57
triadic
#C7CF57 #57C7CF #CF57C7
tetradic
#C7CF57 #57CF9B #5F57CF #CF578B
square
#C7CF57 #57CF9B #5F57CF #CF578B
split-complementary
#C7CF57 #578BCF #9B57CF
monochromatic
#7F8526 #ACB534 #C7CF57 #D7DD87 #E7EAB6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7CF57#FFFFFF#000000##000000
##C7CF571.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)
#DDC64A
Deuteranopia (green-blind)
#DDC95E
Tritanopia (blue-blind)
#D3C4B5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #c7cf57;
/* rgb */ color: rgb(199, 207, 87);
/* oklch */ color: oklch(82.5% 0.143 112.7);
Tailwind
colors: {
  custom: {
    50: '#dadd8b',
    500: '#c7cf57',
    950: '#000000',
  },
}
SCSS
$custom: #c7cf57;
$custom-light: #dadd8b;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cf57",
  "rgb": {
    "r": 199,
    "g": 207,
    "b": 87
  },
  "hsl": {
    "h": 64,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.8249,
    "c": 0.14331,
    "h": 112.7
  },
  "luminance": 0.57456
}

Semantic roles & 50–950 ramp

primary
#C7CF57
secondary
#433E8C
accent
#49DF53
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C7CF57

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

Preview Lab → · Contrast checker → · Palette generator →

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