#C2CB4F#C2CB4F

#C2CB4F is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.1% C 0.147 H 113.1°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#C2CB4F
RGBrgb(194, 203, 79)
HSLhsl(64, 54%, 55%)
HSVhsv(64, 61%, 80%)
CMYKcmyk(4.4%, 0%, 61.1%, 20.4%)
CIE-LABlab(78.90, -19.29, 58.98)
CIE-LCHlch(78.90, 62.05, 108.11°)
OKLaboklab(81.14% -0.0576 0.1348)
OKLCHoklch(81.14% 0.147 113.1)
XYZxyz(45.0165, 54.7466, 15.5914)
Luminance0.5475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CB4F #584FCB
analogous
#CB964F #C2CB4F #84CB4F
triadic
#C2CB4F #4FC2CB #CB4FC2
tetradic
#C2CB4F #4FCB96 #584FCB #CB4F84
square
#C2CB4F #4FCB96 #584FCB #CB4F84
split-complementary
#C2CB4F #4F84CB #964FCB
monochromatic
#757B24 #A2AA32 #C2CB4F #D2D97E #E3E7AD

Accessibility & contrast

On white

1.76
#C2CB4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.95
#C2CB4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CB4F
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CB4F#FFFFFF#000000##000000
##C2CB4F1.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C240
Deuteranopia (green-blind)
#D9C557
Tritanopia (blue-blind)
#CEC0B1
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c2cb4f;
/* rgb */ color: rgb(194, 203, 79);
/* oklch */ color: oklch(81.1% 0.147 113.1);
Tailwind
colors: {
  custom: {
    50: '#d7da86',
    500: '#c2cb4f',
    950: '#000000',
  },
}
SCSS
$custom: #c2cb4f;
$custom-light: #d7da86;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cb4f",
  "rgb": {
    "r": 194,
    "g": 203,
    "b": 79
  },
  "hsl": {
    "h": 64.355,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.81141,
    "c": 0.14661,
    "h": 113.1
  },
  "luminance": 0.54746
}

Semantic roles & 50–950 ramp

primary
#C2CB4F
secondary
#403B83
accent
#4ADE55
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C2CB4F

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

Preview Lab → · Contrast checker → · Palette generator →

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