#C7D161#C7D161

#C7D161 is a very light, vivid yellow. Relative luminance 0.586; OKLCH L 83.0% C 0.137 H 113.6°. Best body text is #000000 at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#C7D161
RGBrgb(199, 209, 97)
HSLhsl(65, 55%, 60%)
HSVhsv(65, 54%, 82%)
CMYKcmyk(4.8%, 0%, 53.6%, 18%)
CIE-LABlab(81.08, -18.84, 53.56)
CIE-LCHlch(81.08, 56.78, 109.38°)
OKLaboklab(83.03% -0.0548 0.1253)
OKLCHoklch(83.03% 0.137 113.6)
XYZxyz(48.5123, 58.6069, 20.0636)
Luminance0.5861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D161 #6B61D1
analogous
#D1A361 #C7D161 #8FD161
triadic
#C7D161 #61C7D1 #D161C7
tetradic
#C7D161 #61D1A3 #6B61D1 #D1618F
square
#C7D161 #61D1A3 #6B61D1 #D1618F
split-complementary
#C7D161 #618FD1 #A361D1
monochromatic
#858E29 #B2BE37 #C7D161 #D8DF90 #E9EDC0

Accessibility & contrast

On white

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

On black

12.72
#C7D161 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D161
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D161#FFFFFF#000000##000000
##C7D1611.001.6512.7212.72
#FFFFFF1.651.0021.0021.00
#00000012.7221.001.001.00
##00000012.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC856
Deuteranopia (green-blind)
#DECB67
Tritanopia (blue-blind)
#D2C6B8
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c7d161;
/* rgb */ color: rgb(199, 209, 97);
/* oklch */ color: oklch(83.0% 0.137 113.6);
Tailwind
colors: {
  custom: {
    50: '#dadf91',
    500: '#c7d161',
    950: '#000000',
  },
}
SCSS
$custom: #c7d161;
$custom-light: #dadf91;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d161",
  "rgb": {
    "r": 199,
    "g": 209,
    "b": 97
  },
  "hsl": {
    "h": 65.357,
    "s": 54.902,
    "l": 60
  },
  "oklch": {
    "l": 0.83032,
    "c": 0.13675,
    "h": 113.6
  },
  "luminance": 0.58606
}

Semantic roles & 50–950 ramp

primary
#C7D161
secondary
#494294
accent
#4ADE57
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #C7D161

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

Preview Lab → · Contrast checker → · Palette generator →

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