#C0C451#C0C451

#C0C451 is a light, vivid yellow. Relative luminance 0.513; OKLCH L 79.5% C 0.138 H 111.0°. Best body text is #000000 at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#C0C451
RGBrgb(192, 196, 81)
HSLhsl(62, 49%, 54%)
HSVhsv(62, 59%, 77%)
CMYKcmyk(2%, 0%, 58.7%, 23.1%)
CIE-LABlab(76.85, -16.48, 55.84)
CIE-LCHlch(76.85, 58.22, 106.44°)
OKLaboklab(79.47% -0.0493 0.1285)
OKLCHoklch(79.47% 0.138 111)
XYZxyz(42.9645, 51.2814, 15.4180)
Luminance0.5128 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C451 #5551C4
analogous
#C48F51 #C0C451 #87C451
triadic
#C0C451 #51C0C4 #C451C0
tetradic
#C0C451 #51C48F #5551C4 #C45187
square
#C0C451 #51C48F #5551C4 #C45187
split-complementary
#C0C451 #5187C4 #8F51C4
monochromatic
#717327 #9DA137 #C0C451 #D1D37F #E1E3AC

Accessibility & contrast

On white

1.87
#C0C451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.26
#C0C451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0C451
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0C451#FFFFFF#000000##000000
##C0C4511.001.8711.2611.26
#FFFFFF1.871.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC44
Deuteranopia (green-blind)
#D3BF58
Tritanopia (blue-blind)
#CCB9AB
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c0c451;
/* rgb */ color: rgb(192, 196, 81);
/* oklch */ color: oklch(79.5% 0.138 111.0);
Tailwind
colors: {
  custom: {
    50: '#d6d586',
    500: '#c0c451',
    950: '#000000',
  },
}
SCSS
$custom: #c0c451;
$custom-light: #d6d586;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c451",
  "rgb": {
    "r": 192,
    "g": 196,
    "b": 81
  },
  "hsl": {
    "h": 62.087,
    "s": 49.356,
    "l": 54.314
  },
  "oklch": {
    "l": 0.79473,
    "c": 0.13763,
    "h": 111
  },
  "luminance": 0.5128
}

Semantic roles & 50–950 ramp

primary
#C0C451
secondary
#3F3D7D
accent
#4FD954
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C0C451

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

Preview Lab → · Contrast checker → · Palette generator →

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