#C0C03F#C0C03F

#C0C03F is a light, vivid yellow. Relative luminance 0.493; OKLCH L 78.4% C 0.147 H 109.4°. Best body text is #000000 at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#C0C03F
RGBrgb(192, 192, 63)
HSLhsl(60, 51%, 50%)
HSVhsv(60, 67%, 75%)
CMYKcmyk(0%, 0%, 67.2%, 24.7%)
CIE-LABlab(75.62, -15.62, 62.00)
CIE-LCHlch(75.62, 63.94, 104.14°)
OKLaboklab(78.44% -0.0488 0.1389)
OKLCHoklch(78.44% 0.147 109.4)
XYZxyz(41.4865, 49.2658, 12.0255)
Luminance0.4926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C03F #3F3FC0
analogous
#C0803F #C0C03F #80C03F
triadic
#C0C03F #3FC0C0 #C03FC0
tetradic
#C0C03F #3FC080 #3F3FC0 #C03F80
square
#C0C03F #3FC080 #3F3FC0 #C03F80
split-complementary
#C0C03F #3F7FC0 #7F3FC0
monochromatic
#646421 #929230 #C0C03F #CFCF6D #DEDE9B

Accessibility & contrast

On white

1.93
#C0C03F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.85
#C0C03F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0C03F
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0C03F#FFFFFF#000000##000000
##C0C03F1.001.9310.8510.85
#FFFFFF1.931.0021.0021.00
#00000010.8521.001.001.00
##00000010.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB82C
Deuteranopia (green-blind)
#D1BC48
Tritanopia (blue-blind)
#CDB4A6
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c0c03f;
/* rgb */ color: rgb(192, 192, 63);
/* oklch */ color: oklch(78.4% 0.147 109.4);
Tailwind
colors: {
  custom: {
    50: '#d6d27b',
    500: '#c0c03f',
    950: '#000000',
  },
}
SCSS
$custom: #c0c03f;
$custom-light: #d6d27b;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c03f",
  "rgb": {
    "r": 192,
    "g": 192,
    "b": 63
  },
  "hsl": {
    "h": 60,
    "s": 50.588,
    "l": 50
  },
  "oklch": {
    "l": 0.78442,
    "c": 0.14719,
    "h": 109.4
  },
  "luminance": 0.49265
}

Semantic roles & 50–950 ramp

primary
#C0C03F
secondary
#9191CA
accent
#4EDA4E
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #C0C03F

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

Preview Lab → · Contrast checker → · Palette generator →

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