#C0CA4F#C0CA4F

#C0CA4F is a light, vivid yellow. Relative luminance 0.540; OKLCH L 80.8% C 0.146 H 113.6°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#C0CA4F
RGBrgb(192, 202, 79)
HSLhsl(65, 54%, 55%)
HSVhsv(65, 61%, 79%)
CMYKcmyk(5%, 0%, 60.9%, 20.8%)
CIE-LABlab(78.47, -19.61, 58.47)
CIE-LCHlch(78.47, 61.68, 108.54°)
OKLaboklab(80.76% -0.0584 0.1338)
OKLCHoklch(80.76% 0.146 113.6)
XYZxyz(44.2711, 54.0129, 15.4890)
Luminance0.5401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CA4F #594FCA
analogous
#CA964F #C0CA4F #82CA4F
triadic
#C0CA4F #4FC0CA #CA4FC0
tetradic
#C0CA4F #4FCA96 #594FCA #CA4F82
square
#C0CA4F #4FCA96 #594FCA #CA4F82
split-complementary
#C0CA4F #4F82CA #964FCA
monochromatic
#737A25 #9FA933 #C0CA4F #D1D87E #E2E6AD

Accessibility & contrast

On white

1.78
#C0CA4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.80
#C0CA4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0CA4F
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0CA4F#FFFFFF#000000##000000
##C0CA4F1.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C140
Deuteranopia (green-blind)
#D8C357
Tritanopia (blue-blind)
#CCBFB0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c0ca4f;
/* rgb */ color: rgb(192, 202, 79);
/* oklch */ color: oklch(80.8% 0.146 113.6);
Tailwind
colors: {
  custom: {
    50: '#d6da85',
    500: '#c0ca4f',
    950: '#000000',
  },
}
SCSS
$custom: #c0ca4f;
$custom-light: #d6da85;
$custom-dark: #000000;
JSON
{
  "hex": "#c0ca4f",
  "rgb": {
    "r": 192,
    "g": 202,
    "b": 79
  },
  "hsl": {
    "h": 64.878,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.80762,
    "c": 0.14599,
    "h": 113.6
  },
  "luminance": 0.54012
}

Semantic roles & 50–950 ramp

primary
#C0CA4F
secondary
#413B82
accent
#4BDD57
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C0CA4F

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

Preview Lab → · Contrast checker → · Palette generator →

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