#C0C229#C0C229

#C0C229 is a light, vivid yellow. Relative luminance 0.499; OKLCH L 78.7% C 0.162 H 110.4°. Best body text is #000000 at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#C0C229
RGBrgb(192, 194, 41)
HSLhsl(61, 65%, 46%)
HSVhsv(61, 79%, 76%)
CMYKcmyk(1%, 0%, 78.9%, 23.9%)
CIE-LABlab(76.04, -17.61, 69.81)
CIE-LCHlch(76.04, 71.99, 104.16°)
OKLaboklab(78.74% -0.0563 0.1515)
OKLCHoklch(78.74% 0.162 110.4)
XYZxyz(41.4318, 49.9513, 9.5565)
Luminance0.4995 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C229 #2B29C2
analogous
#C27729 #C0C229 #73C229
triadic
#C0C229 #29C0C2 #C229C0
tetradic
#C0C229 #29C277 #2B29C2 #C22973
square
#C0C229 #29C277 #2B29C2 #C22973
split-complementary
#C0C229 #2973C2 #7729C2
monochromatic
#5C5D14 #8E8F1E #C0C229 #D8DA4E #E3E481

Accessibility & contrast

On white

1.91
#C0C229 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.99
#C0C229 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0C229
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0C229#FFFFFF#000000##000000
##C0C2291.001.9110.9910.99
#FFFFFF1.911.0021.0021.00
#00000010.9921.001.001.00
##00000010.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c0c229;
/* rgb */ color: rgb(192, 194, 41);
/* oklch */ color: oklch(78.7% 0.162 110.4);
Tailwind
colors: {
  custom: {
    50: '#d7d471',
    500: '#c0c229',
    950: '#000000',
  },
}
SCSS
$custom: #c0c229;
$custom-light: #d7d471;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c229",
  "rgb": {
    "r": 192,
    "g": 194,
    "b": 41
  },
  "hsl": {
    "h": 60.784,
    "s": 65.106,
    "l": 46.078
  },
  "oklch": {
    "l": 0.78741,
    "c": 0.16167,
    "h": 110.4
  },
  "luminance": 0.4995
}

Semantic roles & 50–950 ramp

primary
#C0C229
secondary
#7B7ACD
accent
#40E842
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #C0C229

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

Preview Lab → · Contrast checker → · Palette generator →

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