#C7D167#C7D167

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

Color values

HEX#C7D167
RGBrgb(199, 209, 103)
HSLhsl(66, 54%, 61%)
HSVhsv(66, 51%, 82%)
CMYKcmyk(4.8%, 0%, 50.7%, 18%)
CIE-LABlab(81.14, -18.32, 50.85)
CIE-LCHlch(81.14, 54.05, 109.82°)
OKLaboklab(83.1% -0.0527 0.12)
OKLCHoklch(83.1% 0.131 113.7)
XYZxyz(48.8027, 58.7231, 21.5931)
Luminance0.5872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D167 #7167D1
analogous
#D1A667 #C7D167 #92D167
triadic
#C7D167 #67C7D1 #D167C7
tetradic
#C7D167 #67D1A6 #7167D1 #D16792
square
#C7D167 #67D1A6 #7167D1 #D16792
split-complementary
#C7D167 #6792D1 #A667D1
monochromatic
#88922C #B4C13A #C7D167 #D8DF96 #EAEDC5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7D167#FFFFFF#000000##000000
##C7D1671.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)
#DEC85D
Deuteranopia (green-blind)
#DECB6D
Tritanopia (blue-blind)
#D2C7B9
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c7d167;
/* rgb */ color: rgb(199, 209, 103);
/* oklch */ color: oklch(83.1% 0.131 113.7);
Tailwind
colors: {
  custom: {
    50: '#dadf95',
    500: '#c7d167',
    950: '#000000',
  },
}
SCSS
$custom: #c7d167;
$custom-light: #dadf95;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d167",
  "rgb": {
    "r": 199,
    "g": 209,
    "b": 103
  },
  "hsl": {
    "h": 65.66,
    "s": 53.535,
    "l": 61.176
  },
  "oklch": {
    "l": 0.83104,
    "c": 0.13108,
    "h": 113.7
  },
  "luminance": 0.58722
}

Semantic roles & 50–950 ramp

primary
#C7D167
secondary
#4D4597
accent
#25C133
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #C7D167

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

Preview Lab → · Contrast checker → · Palette generator →

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