#C0CA5F#C0CA5F

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

Color values

HEX#C0CA5F
RGBrgb(192, 202, 95)
HSLhsl(66, 50%, 58%)
HSVhsv(66, 53%, 79%)
CMYKcmyk(5%, 0%, 53%, 20.8%)
CIE-LABlab(78.62, -18.37, 51.51)
CIE-LCHlch(78.62, 54.69, 109.63°)
OKLaboklab(80.93% -0.0532 0.1208)
OKLCHoklch(80.93% 0.132 113.8)
XYZxyz(44.9252, 54.2745, 18.9337)
Luminance0.5427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CA5F #695FCA
analogous
#CA9E5F #C0CA5F #8ACA5F
triadic
#C0CA5F #5FC0CA #CA5FC0
tetradic
#C0CA5F #5FCA9E #695FCA #CA5F8A
square
#C0CA5F #5FCA9E #695FCA #CA5F8A
split-complementary
#C0CA5F #5F8ACA #9E5FCA
monochromatic
#7B832B #A6B13B #C0CA5F #D2D98D #E4E8BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C0CA5F#FFFFFF#000000##000000
##C0CA5F1.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)
#D7C155
Deuteranopia (green-blind)
#D6C465
Tritanopia (blue-blind)
#CBC0B2
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c0ca5f;
/* rgb */ color: rgb(192, 202, 95);
/* oklch */ color: oklch(80.9% 0.132 113.8);
Tailwind
colors: {
  custom: {
    50: '#d5da8f',
    500: '#c0ca5f',
    950: '#000000',
  },
}
SCSS
$custom: #c0ca5f;
$custom-light: #d5da8f;
$custom-dark: #000000;
JSON
{
  "hex": "#c0ca5f",
  "rgb": {
    "r": 192,
    "g": 202,
    "b": 95
  },
  "hsl": {
    "h": 65.607,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.80933,
    "c": 0.13199,
    "h": 113.8
  },
  "luminance": 0.54274
}

Semantic roles & 50–950 ramp

primary
#C0CA5F
secondary
#49438B
accent
#4EDA5B
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140D
muted
#83837F

Preview Lab

Preview with #C0CA5F

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

Preview Lab → · Contrast checker → · Palette generator →

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