#C2CA5F#C2CA5F

#C2CA5F is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.1% C 0.132 H 112.8°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#C2CA5F
RGBrgb(194, 202, 95)
HSLhsl(64, 50%, 58%)
HSVhsv(64, 53%, 79%)
CMYKcmyk(4%, 0%, 53%, 20.8%)
CIE-LABlab(78.77, -17.56, 51.72)
CIE-LCHlch(78.77, 54.62, 108.75°)
OKLaboklab(81.09% -0.051 0.1212)
OKLCHoklch(81.09% 0.132 112.8)
XYZxyz(45.4351, 54.5374, 18.9576)
Luminance0.5454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CA5F #675FCA
analogous
#CA9C5F #C2CA5F #8CCA5F
triadic
#C2CA5F #5FC2CA #CA5FC2
tetradic
#C2CA5F #5FCA9C #675FCA #CA5F8C
square
#C2CA5F #5FCA9C #675FCA #CA5F8C
split-complementary
#C2CA5F #5F8CCA #9C5FCA
monochromatic
#7D832B #A8B13B #C2CA5F #D4D98D #E5E8BB

Accessibility & contrast

On white

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

On black

11.91
#C2CA5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CA5F
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CA5F#FFFFFF#000000##000000
##C2CA5F1.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C255
Deuteranopia (green-blind)
#D7C465
Tritanopia (blue-blind)
#CDC0B2
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c2ca5f;
/* rgb */ color: rgb(194, 202, 95);
/* oklch */ color: oklch(81.1% 0.132 112.8);
Tailwind
colors: {
  custom: {
    50: '#d6da8f',
    500: '#c2ca5f',
    950: '#000000',
  },
}
SCSS
$custom: #c2ca5f;
$custom-light: #d6da8f;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ca5f",
  "rgb": {
    "r": 194,
    "g": 202,
    "b": 95
  },
  "hsl": {
    "h": 64.486,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.81093,
    "c": 0.13153,
    "h": 112.8
  },
  "luminance": 0.54537
}

Semantic roles & 50–950 ramp

primary
#C2CA5F
secondary
#48438B
accent
#4EDA59
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #C2CA5F

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

Preview Lab → · Contrast checker → · Palette generator →

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