#C0CA3F#C0CA3F

#C0CA3F is a light, vivid yellow. Relative luminance 0.538; OKLCH L 80.6% C 0.158 H 113.5°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#C0CA3F
RGBrgb(192, 202, 63)
HSLhsl(64, 57%, 52%)
HSVhsv(64, 69%, 79%)
CMYKcmyk(5%, 0%, 68.8%, 20.8%)
CIE-LABlab(78.35, -20.60, 64.74)
CIE-LCHlch(78.35, 67.94, 107.65°)
OKLaboklab(80.63% -0.0627 0.1446)
OKLCHoklch(80.63% 0.158 113.5)
XYZxyz(43.7572, 53.8073, 12.7825)
Luminance0.5381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CA3F #493FCA
analogous
#CA8F3F #C0CA3F #7ACA3F
triadic
#C0CA3F #3FC0CA #CA3FC0
tetradic
#C0CA3F #3FCA8F #493FCA #CA3F7A
square
#C0CA3F #3FCA8F #493FCA #CA3F7A
split-complementary
#C0CA3F #3F7ACA #8F3FCA
monochromatic
#6A701F #97A02C #C0CA3F #D0D76F #DFE49F

Accessibility & contrast

On white

1.79
#C0CA3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.76
#C0CA3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0CA3F
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0CA3F#FFFFFF#000000##000000
##C0CA3F1.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C029
Deuteranopia (green-blind)
#D9C349
Tritanopia (blue-blind)
#CDBEAE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c0ca3f;
/* rgb */ color: rgb(192, 202, 63);
/* oklch */ color: oklch(80.6% 0.158 113.5);
Tailwind
colors: {
  custom: {
    50: '#d6da7c',
    500: '#c0ca3f',
    950: '#000000',
  },
}
SCSS
$custom: #c0ca3f;
$custom-light: #d6da7c;
$custom-dark: #000000;
JSON
{
  "hex": "#c0ca3f",
  "rgb": {
    "r": 192,
    "g": 202,
    "b": 63
  },
  "hsl": {
    "h": 64.317,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.80628,
    "c": 0.15767,
    "h": 113.5
  },
  "luminance": 0.53806
}

Semantic roles & 50–950 ramp

primary
#C0CA3F
secondary
#393479
accent
#48E053
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C0CA3F

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

Preview Lab → · Contrast checker → · Palette generator →

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