#C2CA4F#C2CA4F

#C2CA4F is a light, vivid yellow. Relative luminance 0.543; OKLCH L 80.9% C 0.145 H 112.7°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#C2CA4F
RGBrgb(194, 202, 79)
HSLhsl(64, 54%, 55%)
HSVhsv(64, 61%, 79%)
CMYKcmyk(4%, 0%, 60.9%, 20.8%)
CIE-LABlab(78.62, -18.79, 58.68)
CIE-LCHlch(78.62, 61.62, 107.75°)
OKLaboklab(80.92% -0.0562 0.1342)
OKLCHoklch(80.92% 0.146 112.7)
XYZxyz(44.7811, 54.2758, 15.5129)
Luminance0.5427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CA4F #574FCA
analogous
#CA944F #C2CA4F #85CA4F
triadic
#C2CA4F #4FC2CA #CA4FC2
tetradic
#C2CA4F #4FCA94 #574FCA #CA4F85
square
#C2CA4F #4FCA94 #574FCA #CA4F85
split-complementary
#C2CA4F #4F85CA #944FCA
monochromatic
#747A25 #A1A933 #C2CA4F #D2D87E #E3E6AD

Accessibility & contrast

On white

1.77
#C2CA4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.85
#C2CA4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CA4F
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CA4F#FFFFFF#000000##000000
##C2CA4F1.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C140
Deuteranopia (green-blind)
#D8C457
Tritanopia (blue-blind)
#CEBFB0
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c2ca4f;
/* rgb */ color: rgb(194, 202, 79);
/* oklch */ color: oklch(80.9% 0.145 112.7);
Tailwind
colors: {
  custom: {
    50: '#d7da86',
    500: '#c2ca4f',
    950: '#000000',
  },
}
SCSS
$custom: #c2ca4f;
$custom-light: #d7da86;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ca4f",
  "rgb": {
    "r": 194,
    "g": 202,
    "b": 79
  },
  "hsl": {
    "h": 63.902,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.80922,
    "c": 0.1455,
    "h": 112.7
  },
  "luminance": 0.54275
}

Semantic roles & 50–950 ramp

primary
#C2CA4F
secondary
#403B82
accent
#4BDD54
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C2CA4F

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

Preview Lab → · Contrast checker → · Palette generator →

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