#C7D166#C7D166

#C7D166 is a very light, vivid yellow. Relative luminance 0.587; OKLCH L 83.1% C 0.132 H 113.7°. Best body text is #000000 at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#C7D166
RGBrgb(199, 209, 102)
HSLhsl(66, 54%, 61%)
HSVhsv(66, 51%, 82%)
CMYKcmyk(4.8%, 0%, 51.2%, 18%)
CIE-LABlab(81.13, -18.41, 51.31)
CIE-LCHlch(81.13, 54.51, 109.74°)
OKLaboklab(83.09% -0.0531 0.1209)
OKLCHoklch(83.09% 0.132 113.7)
XYZxyz(48.7528, 58.7031, 21.3304)
Luminance0.5870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D166 #7066D1
analogous
#D1A566 #C7D166 #91D166
triadic
#C7D166 #66C7D1 #D166C7
tetradic
#C7D166 #66D1A5 #7066D1 #D16691
square
#C7D166 #66D1A5 #7066D1 #D16691
split-complementary
#C7D166 #6691D1 #A566D1
monochromatic
#88912C #B4C03A #C7D166 #D8DF95 #E9EDC4

Accessibility & contrast

On white

1.65
#C7D166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.74
#C7D166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D166
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D166#FFFFFF#000000##000000
##C7D1661.001.6512.7412.74
#FFFFFF1.651.0021.0021.00
#00000012.7421.001.001.00
##00000012.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC85C
Deuteranopia (green-blind)
#DECB6C
Tritanopia (blue-blind)
#D2C7B9
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c7d166;
/* rgb */ color: rgb(199, 209, 102);
/* oklch */ color: oklch(83.1% 0.132 113.7);
Tailwind
colors: {
  custom: {
    50: '#dadf94',
    500: '#c7d166',
    950: '#000000',
  },
}
SCSS
$custom: #c7d166;
$custom-light: #dadf94;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d166",
  "rgb": {
    "r": 199,
    "g": 209,
    "b": 102
  },
  "hsl": {
    "h": 65.607,
    "s": 53.769,
    "l": 60.98
  },
  "oklch": {
    "l": 0.83092,
    "c": 0.13204,
    "h": 113.7
  },
  "luminance": 0.58702
}

Semantic roles & 50–950 ramp

primary
#C7D166
secondary
#4C4497
accent
#24C133
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #C7D166

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

Preview Lab → · Contrast checker → · Palette generator →

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