#C2CB8A#C2CB8A

#C2CB8A is a light, moderate yellow. Relative luminance 0.560; OKLCH L 82.0% C 0.086 H 114.7°. Best body text is #000000 at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#C2CB8A
RGBrgb(194, 203, 138)
HSLhsl(68, 38%, 67%)
HSVhsv(68, 32%, 80%)
CMYKcmyk(4.4%, 0%, 32%, 20.4%)
CIE-LABlab(79.62, -13.47, 31.46)
CIE-LCHlch(79.62, 34.22, 113.17°)
OKLaboklab(81.96% -0.0361 0.0782)
OKLCHoklch(81.96% 0.086 114.7)
XYZxyz(48.1915, 56.0166, 32.3134)
Luminance0.5602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CB8A #938ACB
analogous
#CBB48A #C2CB8A #A2CB8A
triadic
#C2CB8A #8AC2CB #CB8AC2
tetradic
#C2CB8A #8ACBB4 #938ACB #CB8AA2
square
#C2CB8A #8ACBB4 #938ACB #CB8AA2
split-complementary
#C2CB8A #8AA2CB #B48ACB
monochromatic
#8C9743 #ACB860 #C2CB8A #D8DEB4 #EEF1DF

Accessibility & contrast

On white

1.72
#C2CB8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.20
#C2CB8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CB8A
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CB8A#FFFFFF#000000##000000
##C2CB8A1.001.7212.2012.20
#FFFFFF1.721.0021.0021.00
#00000012.2021.001.001.00
##00000012.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C586
Deuteranopia (green-blind)
#D3C68D
Tritanopia (blue-blind)
#C9C4BA
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c2cb8a;
/* rgb */ color: rgb(194, 203, 138);
/* oklch */ color: oklch(82.0% 0.086 114.7);
Tailwind
colors: {
  custom: {
    50: '#d5daac',
    500: '#c2cb8a',
    950: '#000000',
  },
}
SCSS
$custom: #c2cb8a;
$custom-light: #d5daac;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cb8a",
  "rgb": {
    "r": 194,
    "g": 203,
    "b": 138
  },
  "hsl": {
    "h": 68.308,
    "s": 38.462,
    "l": 66.863
  },
  "oklch": {
    "l": 0.81958,
    "c": 0.08615,
    "h": 114.7
  },
  "luminance": 0.56016
}

Semantic roles & 50–950 ramp

primary
#C2CB8A
secondary
#645B9E
accent
#34B145
background
#FEFEFD
surface
#FBFBF7
border
#D4D4D0
text
#141410
muted
#838381

Preview Lab

Preview with #C2CB8A

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

Preview Lab → · Contrast checker → · Palette generator →

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