#C0C431#C0C431

#C0C431 is a light, vivid yellow. Relative luminance 0.509; OKLCH L 79.2% C 0.160 H 111.1°. Best body text is #000000 at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#C0C431
RGBrgb(192, 196, 49)
HSLhsl(62, 60%, 48%)
HSVhsv(62, 75%, 77%)
CMYKcmyk(2%, 0%, 75%, 23.1%)
CIE-LABlab(76.62, -18.30, 67.93)
CIE-LCHlch(76.62, 70.35, 105.08°)
OKLaboklab(79.22% -0.0576 0.149)
OKLCHoklch(79.22% 0.16 111.1)
XYZxyz(42.0340, 50.9092, 10.5174)
Luminance0.5091 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C431 #3531C4
analogous
#C47F31 #C0C431 #76C431
triadic
#C0C431 #31C0C4 #C431C0
tetradic
#C0C431 #31C47F #3531C4 #C43176
square
#C0C431 #31C47F #3531C4 #C43176
split-complementary
#C0C431 #3176C4 #7F31C4
monochromatic
#606219 #909325 #C0C431 #D3D65C #E0E28D

Accessibility & contrast

On white

1.88
#C0C431 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.18
#C0C431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0C431
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0C431#FFFFFF#000000##000000
##C0C4311.001.8811.1811.18
#FFFFFF1.881.0021.0021.00
#00000011.1821.001.001.00
##00000011.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BB0C
Deuteranopia (green-blind)
#D4BF3D
Tritanopia (blue-blind)
#CEB8A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c0c431;
/* rgb */ color: rgb(192, 196, 49);
/* oklch */ color: oklch(79.2% 0.160 111.1);
Tailwind
colors: {
  custom: {
    50: '#d7d575',
    500: '#c0c431',
    950: '#000000',
  },
}
SCSS
$custom: #c0c431;
$custom-light: #d7d575;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c431",
  "rgb": {
    "r": 192,
    "g": 196,
    "b": 49
  },
  "hsl": {
    "h": 61.633,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.79221,
    "c": 0.15972,
    "h": 111.1
  },
  "luminance": 0.50908
}

Semantic roles & 50–950 ramp

primary
#C0C431
secondary
#2E2C6D
accent
#45E349
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C0C431

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

Preview Lab → · Contrast checker → · Palette generator →

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