#C7D86F#C7D86F

#C7D86F is a very light, vivid yellow. Relative luminance 0.624; OKLCH L 84.7% C 0.132 H 116.9°. Best body text is #000000 at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#C7D86F
RGBrgb(199, 216, 111)
HSLhsl(70, 57%, 64%)
HSVhsv(70, 49%, 85%)
CMYKcmyk(7.9%, 0%, 48.6%, 15.3%)
CIE-LABlab(83.13, -21.03, 49.44)
CIE-LCHlch(83.13, 53.72, 113.04°)
OKLaboklab(84.72% -0.0596 0.1176)
OKLCHoklch(84.72% 0.132 116.9)
XYZxyz(50.9789, 62.4020, 24.3951)
Luminance0.6240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D86F #806FD8
analogous
#D8B56F #C7D86F #93D86F
triadic
#C7D86F #6FC7D8 #D86FC7
tetradic
#C7D86F #6FD8B5 #806FD8 #D86F93
square
#C7D86F #6FD8B5 #806FD8 #D86F93
split-complementary
#C7D86F #6F93D8 #B56FD8
monochromatic
#8EA12C #B4CB3F #C7D86F #DAE59F #ECF2CF

Accessibility & contrast

On white

1.56
#C7D86F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.48
#C7D86F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D86F
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D86F#FFFFFF#000000##000000
##C7D86F1.001.5613.4813.48
#FFFFFF1.561.0021.0021.00
#00000013.4821.001.001.00
##00000013.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CF66
Deuteranopia (green-blind)
#E3D075
Tritanopia (blue-blind)
#D1CEC0
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #c7d86f;
/* rgb */ color: rgb(199, 216, 111);
/* oklch */ color: oklch(84.7% 0.132 116.9);
Tailwind
colors: {
  custom: {
    50: '#dae49b',
    500: '#c7d86f',
    950: '#000000',
  },
}
SCSS
$custom: #c7d86f;
$custom-light: #dae49b;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d86f",
  "rgb": {
    "r": 199,
    "g": 216,
    "b": 111
  },
  "hsl": {
    "h": 69.714,
    "s": 57.377,
    "l": 64.118
  },
  "oklch": {
    "l": 0.84723,
    "c": 0.13184,
    "h": 116.9
  },
  "luminance": 0.62402
}

Semantic roles & 50–950 ramp

primary
#C7D86F
secondary
#5646A5
accent
#21C53B
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #C7D86F

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

Preview Lab → · Contrast checker → · Palette generator →

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