#C7D366#C7D366

#C7D366 is a very light, vivid yellow. Relative luminance 0.597; OKLCH L 83.5% C 0.134 H 114.6°. Best body text is #000000 at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#C7D366
RGBrgb(199, 211, 102)
HSLhsl(67, 55%, 61%)
HSVhsv(67, 52%, 83%)
CMYKcmyk(5.7%, 0%, 51.7%, 17.3%)
CIE-LABlab(81.67, -19.40, 51.94)
CIE-LCHlch(81.67, 55.45, 110.48°)
OKLaboklab(83.53% -0.0559 0.1223)
OKLCHoklch(83.53% 0.134 114.6)
XYZxyz(49.2466, 59.6907, 21.4950)
Luminance0.5969 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D366 #7266D3
analogous
#D3A966 #C7D366 #91D366
triadic
#C7D366 #66C7D3 #D366C7
tetradic
#C7D366 #66D3A9 #7266D3 #D36691
square
#C7D366 #66D3A9 #7266D3 #D36691
split-complementary
#C7D366 #6691D3 #A966D3
monochromatic
#88942B #B4C438 #C7D366 #D8E196 #EAEEC5

Accessibility & contrast

On white

1.62
#C7D366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.94
#C7D366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D366
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D366#FFFFFF#000000##000000
##C7D3661.001.6212.9412.94
#FFFFFF1.621.0021.0021.00
#00000012.9421.001.001.00
##00000012.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CA5C
Deuteranopia (green-blind)
#DFCC6C
Tritanopia (blue-blind)
#D2C9BA
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #c7d366;
/* rgb */ color: rgb(199, 211, 102);
/* oklch */ color: oklch(83.5% 0.134 114.6);
Tailwind
colors: {
  custom: {
    50: '#dae094',
    500: '#c7d366',
    950: '#000000',
  },
}
SCSS
$custom: #c7d366;
$custom-light: #dae094;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d366",
  "rgb": {
    "r": 199,
    "g": 211,
    "b": 102
  },
  "hsl": {
    "h": 66.606,
    "s": 55.33,
    "l": 61.373
  },
  "oklch": {
    "l": 0.83525,
    "c": 0.13444,
    "h": 114.6
  },
  "luminance": 0.5969
}

Semantic roles & 50–950 ramp

primary
#C7D366
secondary
#4D4499
accent
#23C334
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #C7D366

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

Preview Lab → · Contrast checker → · Palette generator →

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