#C0C538#C0C538

#C0C538 is a light, vivid yellow. Relative luminance 0.514; OKLCH L 79.5% C 0.157 H 111.5°. Best body text is #000000 at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#C0C538
RGBrgb(192, 197, 56)
HSLhsl(62, 56%, 50%)
HSVhsv(62, 72%, 77%)
CMYKcmyk(2.5%, 0%, 71.6%, 22.7%)
CIE-LABlab(76.94, -18.48, 65.88)
CIE-LCHlch(76.94, 68.43, 105.67°)
OKLaboklab(79.48% -0.0575 0.1459)
OKLCHoklch(79.48% 0.157 111.5)
XYZxyz(42.4197, 51.4256, 11.4322)
Luminance0.5142 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C538 #3D38C5
analogous
#C58438 #C0C538 #79C538
triadic
#C0C538 #38C0C5 #C538C0
tetradic
#C0C538 #38C584 #3D38C5 #C53879
square
#C0C538 #38C584 #3D38C5 #C53879
split-complementary
#C0C538 #3879C5 #8438C5
monochromatic
#63661D #92952A #C0C538 #D0D467 #DFE196

Accessibility & contrast

On white

1.86
#C0C538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.28
#C0C538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0C538
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0C538#FFFFFF#000000##000000
##C0C5381.001.8611.2811.28
#FFFFFF1.861.0021.0021.00
#00000011.2821.001.001.00
##00000011.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC1E
Deuteranopia (green-blind)
#D5C043
Tritanopia (blue-blind)
#CDB9AA
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c0c538;
/* rgb */ color: rgb(192, 197, 56);
/* oklch */ color: oklch(79.5% 0.157 111.5);
Tailwind
colors: {
  custom: {
    50: '#d7d678',
    500: '#c0c538',
    950: '#000000',
  },
}
SCSS
$custom: #c0c538;
$custom-light: #d7d678;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c538",
  "rgb": {
    "r": 192,
    "g": 197,
    "b": 56
  },
  "hsl": {
    "h": 62.128,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.79483,
    "c": 0.15679,
    "h": 111.5
  },
  "luminance": 0.51424
}

Semantic roles & 50–950 ramp

primary
#C0C538
secondary
#333170
accent
#49DF4E
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#15140A
muted
#84837D

Preview Lab

Preview with #C0C538

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

Preview Lab → · Contrast checker → · Palette generator →

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