#C0C12F#C0C12F

#C0C12F is a light, vivid yellow. Relative luminance 0.496; OKLCH L 78.6% C 0.158 H 109.9°. Best body text is #000000 at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#C0C12F
RGBrgb(192, 193, 47)
HSLhsl(60, 61%, 47%)
HSVhsv(60, 76%, 76%)
CMYKcmyk(0.5%, 0%, 75.6%, 24.3%)
CIE-LABlab(75.79, -16.88, 67.80)
CIE-LCHlch(75.79, 69.87, 103.98°)
OKLaboklab(78.55% -0.0538 0.1483)
OKLCHoklch(78.55% 0.158 109.9)
XYZxyz(41.3228, 49.5529, 10.0767)
Luminance0.4955 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C12F #302FC1
analogous
#C1792F #C0C12F #77C12F
triadic
#C0C12F #2FC0C1 #C12FC0
tetradic
#C0C12F #2FC179 #302FC1 #C12F77
square
#C0C12F #2FC179 #302FC1 #C12F77
split-complementary
#C0C12F #2F77C1 #792FC1
monochromatic
#5E5F17 #8F9023 #C0C12F #D5D657 #E1E288

Accessibility & contrast

On white

1.92
#C0C12F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.91
#C0C12F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0C12F
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0C12F#FFFFFF#000000##000000
##C0C12F1.001.9210.9110.91
#FFFFFF1.921.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B907
Deuteranopia (green-blind)
#D2BD3B
Tritanopia (blue-blind)
#CEB5A6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c0c12f;
/* rgb */ color: rgb(192, 193, 47);
/* oklch */ color: oklch(78.6% 0.158 109.9);
Tailwind
colors: {
  custom: {
    50: '#d7d374',
    500: '#c0c12f',
    950: '#000000',
  },
}
SCSS
$custom: #c0c12f;
$custom-light: #d7d374;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c12f",
  "rgb": {
    "r": 192,
    "g": 193,
    "b": 47
  },
  "hsl": {
    "h": 60.411,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.78554,
    "c": 0.15781,
    "h": 109.9
  },
  "luminance": 0.49552
}

Semantic roles & 50–950 ramp

primary
#C0C12F
secondary
#8080CC
accent
#44E445
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #C0C12F

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

Preview Lab → · Contrast checker → · Palette generator →

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