#C0C62F#C0C62F

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

Color values

HEX#C0C62F
RGBrgb(192, 198, 47)
HSLhsl(62, 62%, 48%)
HSVhsv(62, 76%, 78%)
CMYKcmyk(3%, 0%, 76.3%, 22.4%)
CIE-LABlab(77.16, -19.38, 69.05)
CIE-LCHlch(77.16, 71.72, 105.67°)
OKLaboklab(79.65% -0.0608 0.151)
OKLCHoklch(79.65% 0.163 111.9)
XYZxyz(42.4468, 51.8009, 10.4514)
Luminance0.5180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C62F #352FC6
analogous
#C6802F #C0C62F #74C62F
triadic
#C0C62F #2FC0C6 #C62FC0
tetradic
#C0C62F #2FC680 #352FC6 #C62F74
square
#C0C62F #2FC680 #352FC6 #C62F74
split-complementary
#C0C62F #2F74C6 #802FC6
monochromatic
#606318 #909523 #C0C62F #D3D85A #E0E48C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C0C62F#FFFFFF#000000##000000
##C0C62F1.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)
#D5BD02
Deuteranopia (green-blind)
#D6C03C
Tritanopia (blue-blind)
#CDBAAA
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c0c62f;
/* rgb */ color: rgb(192, 198, 47);
/* oklch */ color: oklch(79.6% 0.163 111.9);
Tailwind
colors: {
  custom: {
    50: '#d7d774',
    500: '#c0c62f',
    950: '#000000',
  },
}
SCSS
$custom: #c0c62f;
$custom-light: #d7d774;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c62f",
  "rgb": {
    "r": 192,
    "g": 198,
    "b": 47
  },
  "hsl": {
    "h": 62.384,
    "s": 61.633,
    "l": 48.039
  },
  "oklch": {
    "l": 0.79648,
    "c": 0.16277,
    "h": 111.9
  },
  "luminance": 0.518
}

Semantic roles & 50–950 ramp

primary
#C0C62F
secondary
#2E2C6E
accent
#43E549
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C0C62F

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

Preview Lab → · Contrast checker → · Palette generator →

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