#C0CA38#C0CA38

#C0CA38 is a light, vivid yellow. Relative luminance 0.537; OKLCH L 80.6% C 0.162 H 113.4°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#C0CA38
RGBrgb(192, 202, 56)
HSLhsl(64, 58%, 51%)
HSVhsv(64, 72%, 79%)
CMYKcmyk(5%, 0%, 72.3%, 20.8%)
CIE-LABlab(78.31, -20.96, 67.20)
CIE-LCHlch(78.31, 70.39, 107.32°)
OKLaboklab(80.58% -0.0644 0.1487)
OKLCHoklch(80.58% 0.162 113.4)
XYZxyz(43.5739, 53.7340, 11.8169)
Luminance0.5373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CA38 #4238CA
analogous
#CA8B38 #C0CA38 #77CA38
triadic
#C0CA38 #38C0CA #CA38C0
tetradic
#C0CA38 #38CA8B #4238CA #CA3877
square
#C0CA38 #38CA8B #4238CA #CA3877
split-complementary
#C0CA38 #3877CA #8B38CA
monochromatic
#666B1D #949B29 #C0CA38 #CFD768 #DFE499

Accessibility & contrast

On white

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

On black

11.75
#C0CA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0CA38
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0CA38#FFFFFF#000000##000000
##C0CA381.001.7911.7511.75
#FFFFFF1.791.0021.0021.00
#00000011.7521.001.001.00
##00000011.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c0ca38;
/* rgb */ color: rgb(192, 202, 56);
/* oklch */ color: oklch(80.6% 0.162 113.4);
Tailwind
colors: {
  custom: {
    50: '#d7d979',
    500: '#c0ca38',
    950: '#000000',
  },
}
SCSS
$custom: #c0ca38;
$custom-light: #d7d979;
$custom-dark: #000000;
JSON
{
  "hex": "#c0ca38",
  "rgb": {
    "r": 192,
    "g": 202,
    "b": 56
  },
  "hsl": {
    "h": 64.11,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.8058,
    "c": 0.162,
    "h": 113.4
  },
  "luminance": 0.53733
}

Semantic roles & 50–950 ramp

primary
#C0CA38
secondary
#363175
accent
#47E151
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C0CA38

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

Preview Lab → · Contrast checker → · Palette generator →

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