#C0C231#C0C231

#C0C231 is a light, vivid yellow. Relative luminance 0.500; OKLCH L 78.8% C 0.158 H 110.3°. Best body text is #000000 at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#C0C231
RGBrgb(192, 194, 49)
HSLhsl(61, 60%, 48%)
HSVhsv(61, 75%, 76%)
CMYKcmyk(1%, 0%, 74.7%, 23.9%)
CIE-LABlab(76.08, -17.30, 67.42)
CIE-LCHlch(76.08, 69.61, 104.39°)
OKLaboklab(78.78% -0.0548 0.1479)
OKLCHoklch(78.78% 0.158 110.3)
XYZxyz(41.5859, 50.0130, 10.3680)
Luminance0.5001 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C231 #3331C2
analogous
#C27C31 #C0C231 #77C231
triadic
#C0C231 #31C0C2 #C231C0
tetradic
#C0C231 #31C27C #3331C2 #C23177
square
#C0C231 #31C27C #3331C2 #C23177
split-complementary
#C0C231 #3177C2 #7C31C2
monochromatic
#5F6018 #909125 #C0C231 #D4D65B #E1E28C

Accessibility & contrast

On white

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

On black

11.00
#C0C231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0C231
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0C231#FFFFFF#000000##000000
##C0C2311.001.9111.0011.00
#FFFFFF1.911.0021.0021.00
#00000011.0021.001.001.00
##00000011.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2B90E
Deuteranopia (green-blind)
#D3BD3D
Tritanopia (blue-blind)
#CEB6A7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c0c231;
/* rgb */ color: rgb(192, 194, 49);
/* oklch */ color: oklch(78.8% 0.158 110.3);
Tailwind
colors: {
  custom: {
    50: '#d7d475',
    500: '#c0c231',
    950: '#000000',
  },
}
SCSS
$custom: #c0c231;
$custom-light: #d7d475;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c231",
  "rgb": {
    "r": 192,
    "g": 194,
    "b": 49
  },
  "hsl": {
    "h": 60.828,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.78783,
    "c": 0.15774,
    "h": 110.3
  },
  "luminance": 0.50012
}

Semantic roles & 50–950 ramp

primary
#C0C231
secondary
#2D2C6B
accent
#45E347
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C0C231

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

Preview Lab → · Contrast checker → · Palette generator →

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