#C0C339#C0C339

#C0C339 is a light, vivid yellow. Relative luminance 0.505; OKLCH L 79.1% C 0.154 H 110.7°. Best body text is #000000 at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#C0C339
RGBrgb(192, 195, 57)
HSLhsl(61, 55%, 49%)
HSVhsv(61, 71%, 76%)
CMYKcmyk(1.5%, 0%, 70.8%, 23.5%)
CIE-LABlab(76.40, -17.44, 65.01)
CIE-LCHlch(76.40, 67.30, 105.02°)
OKLaboklab(79.05% -0.0545 0.1442)
OKLCHoklch(79.05% 0.154 110.7)
XYZxyz(41.9933, 50.5332, 11.4119)
Luminance0.5053 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C339 #3C39C3
analogous
#C38139 #C0C339 #7BC339
triadic
#C0C339 #39C0C3 #C339C0
tetradic
#C0C339 #39C381 #3C39C3 #C3397B
square
#C0C339 #39C381 #3C39C3 #C3397B
split-complementary
#C0C339 #397BC3 #8139C3
monochromatic
#63641D #91942B #C0C339 #D0D267 #DFE096

Accessibility & contrast

On white

1.89
#C0C339 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.11
#C0C339 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0C339
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0C339#FFFFFF#000000##000000
##C0C3391.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA20
Deuteranopia (green-blind)
#D3BE43
Tritanopia (blue-blind)
#CDB7A8
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c0c339;
/* rgb */ color: rgb(192, 195, 57);
/* oklch */ color: oklch(79.1% 0.154 110.7);
Tailwind
colors: {
  custom: {
    50: '#d7d479',
    500: '#c0c339',
    950: '#000000',
  },
}
SCSS
$custom: #c0c339;
$custom-light: #d7d479;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c339",
  "rgb": {
    "r": 192,
    "g": 195,
    "b": 57
  },
  "hsl": {
    "h": 61.304,
    "s": 54.762,
    "l": 49.412
  },
  "oklch": {
    "l": 0.79052,
    "c": 0.15414,
    "h": 110.7
  },
  "luminance": 0.50532
}

Semantic roles & 50–950 ramp

primary
#C0C339
secondary
#33316F
accent
#4ADE4D
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#15140A
muted
#84837D

Preview Lab

Preview with #C0C339

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

Preview Lab → · Contrast checker → · Palette generator →

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