#C2CD98#C2CD98

#C2CD98 is a very light, moderate yellow-green. Relative luminance 0.574; OKLCH L 82.7% C 0.072 H 117.5°. Best body text is #000000 at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#C2CD98
RGBrgb(194, 205, 152)
HSLhsl(72, 35%, 70%)
HSVhsv(72, 26%, 80%)
CMYKcmyk(5.4%, 0%, 25.9%, 19.6%)
CIE-LABlab(80.40, -12.59, 25.21)
CIE-LCHlch(80.40, 28.18, 116.54°)
OKLaboklab(82.66% -0.0332 0.0636)
OKLCHoklch(82.66% 0.072 117.5)
XYZxyz(49.7466, 57.3992, 38.1581)
Luminance0.5740 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CD98 #A398CD
analogous
#CDBE98 #C2CD98 #A7CD98
triadic
#C2CD98 #98C2CD #CD98C2
tetradic
#C2CD98 #98CDBE #A398CD #CD98A7
square
#C2CD98 #98CDBE #A398CD #CD98A7
split-complementary
#C2CD98 #98A7CD #BE98CD
monochromatic
#8D9E4D #AAB96F #C2CD98 #DAE1C1 #F3F5EA

Accessibility & contrast

On white

1.68
#C2CD98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.48
#C2CD98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CD98
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CD98#FFFFFF#000000##000000
##C2CD981.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C795
Deuteranopia (green-blind)
#D3C89A
Tritanopia (blue-blind)
#C7C7BF
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c2cd98;
/* rgb */ color: rgb(194, 205, 152);
/* oklch */ color: oklch(82.7% 0.072 117.5);
Tailwind
colors: {
  custom: {
    50: '#d5dcb6',
    500: '#c2cd98',
    950: '#000000',
  },
}
SCSS
$custom: #c2cd98;
$custom-light: #d5dcb6;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cd98",
  "rgb": {
    "r": 194,
    "g": 205,
    "b": 152
  },
  "hsl": {
    "h": 72.453,
    "s": 34.641,
    "l": 70
  },
  "oklch": {
    "l": 0.82658,
    "c": 0.07176,
    "h": 117.5
  },
  "luminance": 0.57399
}

Semantic roles & 50–950 ramp

primary
#C2CD98
secondary
#7367A2
accent
#38AD50
background
#FEFEFD
surface
#FBFCF8
border
#D4D5D1
text
#141511
muted
#838481

Preview Lab

Preview with #C2CD98

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

Preview Lab → · Contrast checker → · Palette generator →

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