#C2CA7E#C2CA7E

#C2CA7E is a light, moderate yellow. Relative luminance 0.552; OKLCH L 81.5% C 0.099 H 113.5°. Best body text is #000000 at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#C2CA7E
RGBrgb(194, 202, 126)
HSLhsl(66, 42%, 64%)
HSVhsv(66, 38%, 79%)
CMYKcmyk(4%, 0%, 37.6%, 20.8%)
CIE-LABlab(79.17, -14.43, 37.03)
CIE-LCHlch(79.17, 39.75, 111.29°)
OKLaboklab(81.53% -0.0395 0.0907)
OKLCHoklch(81.53% 0.099 113.5)
XYZxyz(47.1349, 55.2173, 27.9096)
Luminance0.5522 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CA7E #867ECA
analogous
#CAAC7E #C2CA7E #9CCA7E
triadic
#C2CA7E #7EC2CA #CA7EC2
tetradic
#C2CA7E #7ECAAC #867ECA #CA7E9C
square
#C2CA7E #7ECAAC #867ECA #CA7E9C
split-complementary
#C2CA7E #7E9CCA #AC7ECA
monochromatic
#89923C #ADB853 #C2CA7E #D7DCA9 #EBEED5

Accessibility & contrast

On white

1.74
#C2CA7E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.04
#C2CA7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CA7E
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CA7E#FFFFFF#000000##000000
##C2CA7E1.001.7412.0412.04
#FFFFFF1.741.0021.0021.00
#00000012.0421.001.001.00
##00000012.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C378
Deuteranopia (green-blind)
#D4C581
Tritanopia (blue-blind)
#CBC2B7
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c2ca7e;
/* rgb */ color: rgb(194, 202, 126);
/* oklch */ color: oklch(81.5% 0.099 113.5);
Tailwind
colors: {
  custom: {
    50: '#d5daa4',
    500: '#c2ca7e',
    950: '#000000',
  },
}
SCSS
$custom: #c2ca7e;
$custom-light: #d5daa4;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ca7e",
  "rgb": {
    "r": 194,
    "g": 202,
    "b": 126
  },
  "hsl": {
    "h": 66.316,
    "s": 41.758,
    "l": 64.314
  },
  "oklch": {
    "l": 0.81533,
    "c": 0.09895,
    "h": 113.5
  },
  "luminance": 0.55217
}

Semantic roles & 50–950 ramp

primary
#C2CA7E
secondary
#5B5499
accent
#31B53F
background
#FEFEFC
surface
#FBFBF6
border
#D4D4D0
text
#14140F
muted
#838380

Preview Lab

Preview with #C2CA7E

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

Preview Lab → · Contrast checker → · Palette generator →

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