#C7CF51#C7CF51

#C7CF51 is a very light, vivid yellow. Relative luminance 0.574; OKLCH L 82.4% C 0.148 H 112.6°. Best body text is #000000 at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#C7CF51
RGBrgb(199, 207, 81)
HSLhsl(64, 57%, 56%)
HSVhsv(64, 61%, 81%)
CMYKcmyk(3.9%, 0%, 60.9%, 18.8%)
CIE-LABlab(80.38, -19.07, 59.85)
CIE-LCHlch(80.38, 62.82, 107.67°)
OKLaboklab(82.43% -0.0571 0.1368)
OKLCHoklch(82.43% 0.148 112.6)
XYZxyz(47.3524, 57.3628, 16.3607)
Luminance0.5736 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CF51 #5951CF
analogous
#CF9851 #C7CF51 #88CF51
triadic
#C7CF51 #51C7CF #CF51C7
tetradic
#C7CF51 #51CF98 #5951CF #CF5188
square
#C7CF51 #51CF98 #5951CF #CF5188
split-complementary
#C7CF51 #5188CF #9851CF
monochromatic
#7C8224 #AAB231 #C7CF51 #D6DC81 #E6E9B1

Accessibility & contrast

On white

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

On black

12.47
#C7CF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CF51
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CF51#FFFFFF#000000##000000
##C7CF511.001.6812.4712.47
#FFFFFF1.681.0021.0021.00
#00000012.4721.001.001.00
##00000012.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC642
Deuteranopia (green-blind)
#DEC959
Tritanopia (blue-blind)
#D3C3B4
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c7cf51;
/* rgb */ color: rgb(199, 207, 81);
/* oklch */ color: oklch(82.4% 0.148 112.6);
Tailwind
colors: {
  custom: {
    50: '#dbdd87',
    500: '#c7cf51',
    950: '#000000',
  },
}
SCSS
$custom: #c7cf51;
$custom-light: #dbdd87;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cf51",
  "rgb": {
    "r": 199,
    "g": 207,
    "b": 81
  },
  "hsl": {
    "h": 63.81,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.82431,
    "c": 0.14826,
    "h": 112.6
  },
  "luminance": 0.57362
}

Semantic roles & 50–950 ramp

primary
#C7CF51
secondary
#403B89
accent
#48E051
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C7CF51

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

Preview Lab → · Contrast checker → · Palette generator →

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