#C0CC38#C0CC38

#C0CC38 is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.0% C 0.164 H 114.1°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#C0CC38
RGBrgb(192, 204, 56)
HSLhsl(65, 59%, 51%)
HSVhsv(65, 73%, 80%)
CMYKcmyk(5.9%, 0%, 72.5%, 20%)
CIE-LABlab(78.86, -21.94, 67.72)
CIE-LCHlch(78.86, 71.19, 107.95°)
OKLaboklab(81.02% -0.0671 0.1498)
OKLCHoklch(81.02% 0.164 114.1)
XYZxyz(44.0462, 54.6786, 11.9744)
Luminance0.5468 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CC38 #4438CC
analogous
#CC8E38 #C0CC38 #76CC38
triadic
#C0CC38 #38C0CC #CC38C0
tetradic
#C0CC38 #38CC8E #4438CC #CC3876
square
#C0CC38 #38CC8E #4438CC #CC3876
split-complementary
#C0CC38 #3876CC #8E38CC
monochromatic
#676E1C #959E29 #C0CC38 #CFD869 #DFE599

Accessibility & contrast

On white

1.76
#C0CC38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.94
#C0CC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0CC38
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0CC38#FFFFFF#000000##000000
##C0CC381.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC21A
Deuteranopia (green-blind)
#DAC544
Tritanopia (blue-blind)
#CDC0B0
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c0cc38;
/* rgb */ color: rgb(192, 204, 56);
/* oklch */ color: oklch(81.0% 0.164 114.1);
Tailwind
colors: {
  custom: {
    50: '#d7db79',
    500: '#c0cc38',
    950: '#000000',
  },
}
SCSS
$custom: #c0cc38;
$custom-light: #d7db79;
$custom-dark: #000000;
JSON
{
  "hex": "#c0cc38",
  "rgb": {
    "r": 192,
    "g": 204,
    "b": 56
  },
  "hsl": {
    "h": 64.865,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.8102,
    "c": 0.16411,
    "h": 114.1
  },
  "luminance": 0.54678
}

Semantic roles & 50–950 ramp

primary
#C0CC38
secondary
#373177
accent
#45E252
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C0CC38

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

Preview Lab → · Contrast checker → · Palette generator →

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