#C7CD79#C7CD79

#C7CD79 is a very light, moderate yellow. Relative luminance 0.572; OKLCH L 82.5% C 0.107 H 112.1°. Best body text is #000000 at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#C7CD79
RGBrgb(199, 205, 121)
HSLhsl(64, 46%, 64%)
HSVhsv(64, 41%, 80%)
CMYKcmyk(2.9%, 0%, 41%, 19.6%)
CIE-LABlab(80.28, -14.55, 41.06)
CIE-LCHlch(80.28, 43.56, 109.51°)
OKLaboklab(82.49% -0.0404 0.0996)
OKLCHoklch(82.49% 0.107 112.1)
XYZxyz(48.8363, 57.1860, 26.5508)
Luminance0.5718 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CD79 #7F79CD
analogous
#CDA979 #C7CD79 #9DCD79
triadic
#C7CD79 #79C7CD #CD79C7
tetradic
#C7CD79 #79CDA9 #7F79CD #CD799D
square
#C7CD79 #79CDA9 #7F79CD #CD799D
split-complementary
#C7CD79 #799DCD #A979CD
monochromatic
#8E9437 #B4BC4C #C7CD79 #DADEA6 #ECEED2

Accessibility & contrast

On white

1.69
#C7CD79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.44
#C7CD79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CD79
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CD79#FFFFFF#000000##000000
##C7CD791.001.6912.4412.44
#FFFFFF1.691.0021.0021.00
#00000012.4421.001.001.00
##00000012.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C672
Deuteranopia (green-blind)
#D9C87D
Tritanopia (blue-blind)
#D1C4B9
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c7cd79;
/* rgb */ color: rgb(199, 205, 121);
/* oklch */ color: oklch(82.5% 0.107 112.1);
Tailwind
colors: {
  custom: {
    50: '#d9dca1',
    500: '#c7cd79',
    950: '#000000',
  },
}
SCSS
$custom: #c7cd79;
$custom-light: #d9dca1;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cd79",
  "rgb": {
    "r": 199,
    "g": 205,
    "b": 121
  },
  "hsl": {
    "h": 64.286,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.82494,
    "c": 0.10748,
    "h": 112.1
  },
  "luminance": 0.57185
}

Semantic roles & 50–950 ramp

primary
#C7CD79
secondary
#55509B
accent
#2DB937
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150F
muted
#848480

Preview Lab

Preview with #C7CD79

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

Preview Lab → · Contrast checker → · Palette generator →

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