#C0C440#C0C440

#C0C440 is a light, vivid yellow. Relative luminance 0.511; OKLCH L 79.3% C 0.151 H 111.1°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#C0C440
RGBrgb(192, 196, 64)
HSLhsl(62, 53%, 51%)
HSVhsv(62, 67%, 77%)
CMYKcmyk(2%, 0%, 67.3%, 23.1%)
CIE-LABlab(76.71, -17.57, 62.72)
CIE-LCHlch(76.71, 65.14, 105.65°)
OKLaboklab(79.32% -0.0542 0.1406)
OKLCHoklch(79.32% 0.151 111.1)
XYZxyz(42.4049, 51.0576, 12.4708)
Luminance0.5106 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C440 #4440C4
analogous
#C48640 #C0C440 #7EC440
triadic
#C0C440 #40C0C4 #C440C0
tetradic
#C0C440 #40C486 #4440C4 #C4407E
square
#C0C440 #40C486 #4440C4 #C4407E
split-complementary
#C0C440 #407EC4 #8640C4
monochromatic
#676920 #95982F #C0C440 #CFD26F #DFE19E

Accessibility & contrast

On white

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

On black

11.21
#C0C440 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0C440
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0C440#FFFFFF#000000##000000
##C0C4401.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB2C
Deuteranopia (green-blind)
#D4BF49
Tritanopia (blue-blind)
#CDB8AA
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c0c440;
/* rgb */ color: rgb(192, 196, 64);
/* oklch */ color: oklch(79.3% 0.151 111.1);
Tailwind
colors: {
  custom: {
    50: '#d6d57c',
    500: '#c0c440',
    950: '#000000',
  },
}
SCSS
$custom: #c0c440;
$custom-light: #d6d57c;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c440",
  "rgb": {
    "r": 192,
    "g": 196,
    "b": 64
  },
  "hsl": {
    "h": 61.818,
    "s": 52.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.79321,
    "c": 0.15063,
    "h": 111.1
  },
  "luminance": 0.51056
}

Semantic roles & 50–950 ramp

primary
#C0C440
secondary
#373573
accent
#4CDC50
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C0C440

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

Preview Lab → · Contrast checker → · Palette generator →

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