#C0C631#C0C631

#C0C631 is a light, vivid yellow. Relative luminance 0.518; OKLCH L 79.7% C 0.162 H 111.9°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#C0C631
RGBrgb(192, 198, 49)
HSLhsl(62, 60%, 48%)
HSVhsv(62, 75%, 78%)
CMYKcmyk(3%, 0%, 75.3%, 22.4%)
CIE-LABlab(77.17, -19.29, 68.44)
CIE-LCHlch(77.17, 71.10, 105.74°)
OKLaboklab(79.66% -0.0604 0.1501)
OKLCHoklch(79.66% 0.162 111.9)
XYZxyz(42.4881, 51.8175, 10.6687)
Luminance0.5182 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C631 #3731C6
analogous
#C68131 #C0C631 #75C631
triadic
#C0C631 #31C0C6 #C631C0
tetradic
#C0C631 #31C681 #3731C6 #C63175
square
#C0C631 #31C681 #3731C6 #C63175
split-complementary
#C0C631 #3175C6 #8131C6
monochromatic
#616419 #909525 #C0C631 #D2D75D #E0E38E

Accessibility & contrast

On white

1.85
#C0C631 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.36
#C0C631 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0C631
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0C631#FFFFFF#000000##000000
##C0C6311.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD0A
Deuteranopia (green-blind)
#D6C03E
Tritanopia (blue-blind)
#CDBAAA
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c0c631;
/* rgb */ color: rgb(192, 198, 49);
/* oklch */ color: oklch(79.7% 0.162 111.9);
Tailwind
colors: {
  custom: {
    50: '#d7d775',
    500: '#c0c631',
    950: '#000000',
  },
}
SCSS
$custom: #c0c631;
$custom-light: #d7d775;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c631",
  "rgb": {
    "r": 192,
    "g": 198,
    "b": 49
  },
  "hsl": {
    "h": 62.416,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.79659,
    "c": 0.16174,
    "h": 111.9
  },
  "luminance": 0.51816
}

Semantic roles & 50–950 ramp

primary
#C0C631
secondary
#2F2D6E
accent
#44E34B
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C0C631

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

Preview Lab → · Contrast checker → · Palette generator →

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