#C7D17A#C7D17A

#C7D17A is a very light, moderate yellow. Relative luminance 0.591; OKLCH L 83.4% C 0.111 H 114.2°. Best body text is #000000 at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#C7D17A
RGBrgb(199, 209, 122)
HSLhsl(67, 49%, 65%)
HSVhsv(67, 42%, 82%)
CMYKcmyk(4.8%, 0%, 41.6%, 18%)
CIE-LABlab(81.37, -16.44, 41.93)
CIE-LCHlch(81.37, 45.04, 111.41°)
OKLaboklab(83.37% -0.0457 0.1016)
OKLCHoklch(83.37% 0.111 114.2)
XYZxyz(49.8670, 59.1488, 27.1985)
Luminance0.5915 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D17A #847AD1
analogous
#D1B07A #C7D17A #9BD17A
triadic
#C7D17A #7AC7D1 #D17AC7
tetradic
#C7D17A #7AD1B0 #847AD1 #D17A9B
square
#C7D17A #7AD1B0 #847AD1 #D17A9B
split-complementary
#C7D17A #7A9BD1 #B07AD1
monochromatic
#8F9B36 #B4C14D #C7D17A #DAE1A7 #EDF0D5

Accessibility & contrast

On white

1.64
#C7D17A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.83
#C7D17A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D17A
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D17A#FFFFFF#000000##000000
##C7D17A1.001.6412.8312.83
#FFFFFF1.641.0021.0021.00
#00000012.8321.001.001.00
##00000012.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC973
Deuteranopia (green-blind)
#DCCB7E
Tritanopia (blue-blind)
#D0C8BC
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c7d17a;
/* rgb */ color: rgb(199, 209, 122);
/* oklch */ color: oklch(83.4% 0.111 114.2);
Tailwind
colors: {
  custom: {
    50: '#d9dfa2',
    500: '#c7d17a',
    950: '#000000',
  },
}
SCSS
$custom: #c7d17a;
$custom-light: #d9dfa2;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d17a",
  "rgb": {
    "r": 199,
    "g": 209,
    "b": 122
  },
  "hsl": {
    "h": 66.897,
    "s": 48.603,
    "l": 64.902
  },
  "oklch": {
    "l": 0.83367,
    "c": 0.11142,
    "h": 114.2
  },
  "luminance": 0.59148
}

Semantic roles & 50–950 ramp

primary
#C7D17A
secondary
#584FA0
accent
#2ABC3A
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #C7D17A

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

Preview Lab → · Contrast checker → · Palette generator →

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