#C0CA5D#C0CA5D

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

Color values

HEX#C0CA5D
RGBrgb(192, 202, 93)
HSLhsl(66, 51%, 58%)
HSVhsv(66, 54%, 79%)
CMYKcmyk(5%, 0%, 54%, 20.8%)
CIE-LABlab(78.60, -18.54, 52.41)
CIE-LCHlch(78.60, 55.59, 109.48°)
OKLaboklab(80.91% -0.0539 0.1225)
OKLCHoklch(80.91% 0.134 113.8)
XYZxyz(44.8354, 54.2386, 18.4610)
Luminance0.5424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CA5D #675DCA
analogous
#CA9E5D #C0CA5D #89CA5D
triadic
#C0CA5D #5DC0CA #CA5DC0
tetradic
#C0CA5D #5DCA9E #675DCA #CA5D89
square
#C0CA5D #5DCA9E #675DCA #CA5D89
split-complementary
#C0CA5D #5D89CA #9E5DCA
monochromatic
#7A822B #A5B03A #C0CA5D #D2D98B #E4E8B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C0CA5D#FFFFFF#000000##000000
##C0CA5D1.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)
#D7C152
Deuteranopia (green-blind)
#D7C463
Tritanopia (blue-blind)
#CBC0B2
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c0ca5d;
/* rgb */ color: rgb(192, 202, 93);
/* oklch */ color: oklch(80.9% 0.134 113.8);
Tailwind
colors: {
  custom: {
    50: '#d5da8e',
    500: '#c0ca5d',
    950: '#000000',
  },
}
SCSS
$custom: #c0ca5d;
$custom-light: #d5da8e;
$custom-dark: #000000;
JSON
{
  "hex": "#c0ca5d",
  "rgb": {
    "r": 192,
    "g": 202,
    "b": 93
  },
  "hsl": {
    "h": 65.505,
    "s": 50.698,
    "l": 57.843
  },
  "oklch": {
    "l": 0.8091,
    "c": 0.13386,
    "h": 113.8
  },
  "luminance": 0.54238
}

Semantic roles & 50–950 ramp

primary
#C0CA5D
secondary
#48428A
accent
#4EDA5B
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C0CA5D

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

Preview Lab → · Contrast checker → · Palette generator →

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