#C2CA7B#C2CA7B

#C2CA7B is a light, moderate yellow. Relative luminance 0.551; OKLCH L 81.5% C 0.102 H 113.4°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#C2CA7B
RGBrgb(194, 202, 123)
HSLhsl(66, 43%, 64%)
HSVhsv(66, 39%, 79%)
CMYKcmyk(4%, 0%, 39.1%, 20.8%)
CIE-LABlab(79.12, -14.78, 38.50)
CIE-LCHlch(79.12, 41.24, 111.00°)
OKLaboklab(81.48% -0.0407 0.094)
OKLCHoklch(81.48% 0.102 113.4)
XYZxyz(46.9442, 55.1411, 26.9053)
Luminance0.5514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CA7B #837BCA
analogous
#CAAA7B #C2CA7B #9ACA7B
triadic
#C2CA7B #7BC2CA #CA7BC2
tetradic
#C2CA7B #7BCAAA #837BCA #CA7B9A
square
#C2CA7B #7BCAAA #837BCA #CA7B9A
split-complementary
#C2CA7B #7B9ACA #AA7BCA
monochromatic
#88913A #AEB84F #C2CA7B #D6DCA7 #EAEDD2

Accessibility & contrast

On white

1.75
#C2CA7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.03
#C2CA7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CA7B
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CA7B#FFFFFF#000000##000000
##C2CA7B1.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2ca7b;
/* rgb */ color: rgb(194, 202, 123);
/* oklch */ color: oklch(81.5% 0.102 113.4);
Tailwind
colors: {
  custom: {
    50: '#d5daa2',
    500: '#c2ca7b',
    950: '#000000',
  },
}
SCSS
$custom: #c2ca7b;
$custom-light: #d5daa2;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ca7b",
  "rgb": {
    "r": 194,
    "g": 202,
    "b": 123
  },
  "hsl": {
    "h": 66.076,
    "s": 42.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.81484,
    "c": 0.10237,
    "h": 113.4
  },
  "luminance": 0.5514
}

Semantic roles & 50–950 ramp

primary
#C2CA7B
secondary
#595297
accent
#30B63D
background
#FEFEFC
surface
#FBFBF5
border
#D4D4CF
text
#14140F
muted
#838380

Preview Lab

Preview with #C2CA7B

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

Preview Lab → · Contrast checker → · Palette generator →

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