#C0C434#C0C434

#C0C434 is a light, vivid yellow. Relative luminance 0.509; OKLCH L 79.2% C 0.158 H 111.1°. Best body text is #000000 at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#C0C434
RGBrgb(192, 196, 52)
HSLhsl(62, 58%, 49%)
HSVhsv(62, 73%, 77%)
CMYKcmyk(2%, 0%, 73.5%, 23.1%)
CIE-LABlab(76.64, -18.17, 66.97)
CIE-LCHlch(76.64, 69.39, 105.18°)
OKLaboklab(79.24% -0.057 0.1475)
OKLCHoklch(79.24% 0.158 111.1)
XYZxyz(42.0994, 50.9354, 10.8620)
Luminance0.5093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C434 #3834C4
analogous
#C48034 #C0C434 #78C434
triadic
#C0C434 #34C0C4 #C434C0
tetradic
#C0C434 #34C480 #3834C4 #C43478
square
#C0C434 #34C480 #3834C4 #C43478
split-complementary
#C0C434 #3478C4 #8034C4
monochromatic
#61631A #919427 #C0C434 #D2D560 #DFE291

Accessibility & contrast

On white

1.88
#C0C434 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.19
#C0C434 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0C434
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0C434#FFFFFF#000000##000000
##C0C4341.001.8811.1911.19
#FFFFFF1.881.0021.0021.00
#00000011.1921.001.001.00
##00000011.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB15
Deuteranopia (green-blind)
#D4BF40
Tritanopia (blue-blind)
#CDB8A9
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c0c434;
/* rgb */ color: rgb(192, 196, 52);
/* oklch */ color: oklch(79.2% 0.158 111.1);
Tailwind
colors: {
  custom: {
    50: '#d7d576',
    500: '#c0c434',
    950: '#000000',
  },
}
SCSS
$custom: #c0c434;
$custom-light: #d7d576;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c434",
  "rgb": {
    "r": 192,
    "g": 196,
    "b": 52
  },
  "hsl": {
    "h": 61.667,
    "s": 58.065,
    "l": 48.627
  },
  "oklch": {
    "l": 0.79238,
    "c": 0.15809,
    "h": 111.1
  },
  "luminance": 0.50934
}

Semantic roles & 50–950 ramp

primary
#C0C434
secondary
#302E6E
accent
#47E14B
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C0C434

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

Preview Lab → · Contrast checker → · Palette generator →

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