#C7CF71#C7CF71

#C7CF71 is a very light, moderate yellow. Relative luminance 0.580; OKLCH L 82.8% C 0.119 H 113.0°. Best body text is #000000 at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#C7CF71
RGBrgb(199, 207, 113)
HSLhsl(65, 49%, 63%)
HSVhsv(65, 45%, 81%)
CMYKcmyk(3.9%, 0%, 45.4%, 18.8%)
CIE-LABlab(80.72, -16.38, 45.55)
CIE-LCHlch(80.72, 48.41, 109.78°)
OKLaboklab(82.81% -0.0463 0.1092)
OKLCHoklch(82.81% 0.119 113)
XYZxyz(48.8473, 57.9608, 24.2339)
Luminance0.5796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CF71 #7971CF
analogous
#CFA871 #C7CF71 #98CF71
triadic
#C7CF71 #71C7CF #CF71C7
tetradic
#C7CF71 #71CFA8 #7971CF #CF7198
square
#C7CF71 #71CFA8 #7971CF #CF7198
split-complementary
#C7CF71 #7198CF #A871CF
monochromatic
#8B9432 #B5C043 #C7CF71 #D9DE9F #EBEECC

Accessibility & contrast

On white

1.67
#C7CF71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.59
#C7CF71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CF71
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CF71#FFFFFF#000000##000000
##C7CF711.001.6712.5912.59
#FFFFFF1.671.0021.0021.00
#00000012.5921.001.001.00
##00000012.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC769
Deuteranopia (green-blind)
#DBCA76
Tritanopia (blue-blind)
#D1C5B9
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #c7cf71;
/* rgb */ color: rgb(199, 207, 113);
/* oklch */ color: oklch(82.8% 0.119 113.0);
Tailwind
colors: {
  custom: {
    50: '#d9dd9c',
    500: '#c7cf71',
    950: '#000000',
  },
}
SCSS
$custom: #c7cf71;
$custom-light: #d9dd9c;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cf71",
  "rgb": {
    "r": 199,
    "g": 207,
    "b": 113
  },
  "hsl": {
    "h": 65.106,
    "s": 49.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.82805,
    "c": 0.11856,
    "h": 113
  },
  "luminance": 0.5796
}

Semantic roles & 50–950 ramp

primary
#C7CF71
secondary
#514B9A
accent
#29BD35
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #C7CF71

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

Preview Lab → · Contrast checker → · Palette generator →

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