#C2CB5F#C2CB5F

#C2CB5F is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.3% C 0.133 H 113.3°. Best body text is #000000 at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#C2CB5F
RGBrgb(194, 203, 95)
HSLhsl(65, 51%, 58%)
HSVhsv(65, 53%, 80%)
CMYKcmyk(4.4%, 0%, 53.2%, 20.4%)
CIE-LABlab(79.05, -18.06, 52.04)
CIE-LCHlch(79.05, 55.08, 109.14°)
OKLaboklab(81.31% -0.0525 0.1219)
OKLCHoklch(81.31% 0.133 113.3)
XYZxyz(45.6705, 55.0082, 19.0360)
Luminance0.5501 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CB5F #685FCB
analogous
#CB9E5F #C2CB5F #8CCB5F
triadic
#C2CB5F #5FC2CB #CB5FC2
tetradic
#C2CB5F #5FCB9E #685FCB #CB5F8C
square
#C2CB5F #5FCB9E #685FCB #CB5F8C
split-complementary
#C2CB5F #5F8CCB #9E5FCB
monochromatic
#7D852B #A9B33A #C2CB5F #D4DA8D #E5E9BB

Accessibility & contrast

On white

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

On black

12.00
#C2CB5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CB5F
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CB5F#FFFFFF#000000##000000
##C2CB5F1.001.7512.0012.00
#FFFFFF1.751.0021.0021.00
#00000012.0021.001.001.00
##00000012.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C354
Deuteranopia (green-blind)
#D8C565
Tritanopia (blue-blind)
#CDC1B3
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c2cb5f;
/* rgb */ color: rgb(194, 203, 95);
/* oklch */ color: oklch(81.3% 0.133 113.3);
Tailwind
colors: {
  custom: {
    50: '#d6da8f',
    500: '#c2cb5f',
    950: '#000000',
  },
}
SCSS
$custom: #c2cb5f;
$custom-light: #d6da8f;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cb5f",
  "rgb": {
    "r": 194,
    "g": 203,
    "b": 95
  },
  "hsl": {
    "h": 65,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.8131,
    "c": 0.13271,
    "h": 113.3
  },
  "luminance": 0.55007
}

Semantic roles & 50–950 ramp

primary
#C2CB5F
secondary
#48428C
accent
#4DDA59
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #C2CB5F

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

Preview Lab → · Contrast checker → · Palette generator →

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