#C0C838#C0C838

#C0C838 is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.1% C 0.160 H 112.7°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#C0C838
RGBrgb(192, 200, 56)
HSLhsl(63, 57%, 50%)
HSVhsv(63, 72%, 78%)
CMYKcmyk(4%, 0%, 72%, 21.6%)
CIE-LABlab(77.76, -19.97, 66.67)
CIE-LCHlch(77.76, 69.60, 106.67°)
OKLaboklab(80.14% -0.0616 0.1475)
OKLCHoklch(80.14% 0.16 112.7)
XYZxyz(43.1077, 52.8015, 11.6615)
Luminance0.5280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C838 #4038C8
analogous
#C88838 #C0C838 #78C838
triadic
#C0C838 #38C0C8 #C838C0
tetradic
#C0C838 #38C888 #4038C8 #C83878
square
#C0C838 #38C888 #4038C8 #C83878
split-complementary
#C0C838 #3878C8 #8838C8
monochromatic
#64691D #92992A #C0C838 #CFD568 #DEE398

Accessibility & contrast

On white

1.82
#C0C838 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.56
#C0C838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0C838
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0C838#FFFFFF#000000##000000
##C0C8381.001.8211.5611.56
#FFFFFF1.821.0021.0021.00
#00000011.5621.001.001.00
##00000011.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF1C
Deuteranopia (green-blind)
#D7C243
Tritanopia (blue-blind)
#CDBCAC
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c0c838;
/* rgb */ color: rgb(192, 200, 56);
/* oklch */ color: oklch(80.1% 0.160 112.7);
Tailwind
colors: {
  custom: {
    50: '#d7d879',
    500: '#c0c838',
    950: '#000000',
  },
}
SCSS
$custom: #c0c838;
$custom-light: #d7d879;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c838",
  "rgb": {
    "r": 192,
    "g": 200,
    "b": 56
  },
  "hsl": {
    "h": 63.333,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.8014,
    "c": 0.1599,
    "h": 112.7
  },
  "luminance": 0.52801
}

Semantic roles & 50–950 ramp

primary
#C0C838
secondary
#353273
accent
#48E050
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C0C838

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

Preview Lab → · Contrast checker → · Palette generator →

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