#C0C138#C0C138

#C0C138 is a light, vivid yellow. Relative luminance 0.496; OKLCH L 78.6% C 0.153 H 109.9°. Best body text is #000000 at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#C0C138
RGBrgb(192, 193, 56)
HSLhsl(60, 55%, 49%)
HSVhsv(60, 71%, 76%)
CMYKcmyk(0.5%, 0%, 71%, 24.3%)
CIE-LABlab(75.84, -16.48, 64.83)
CIE-LCHlch(75.84, 66.89, 104.27°)
OKLaboklab(78.61% -0.0519 0.1436)
OKLCHoklch(78.61% 0.153 109.9)
XYZxyz(41.5235, 49.6331, 11.1334)
Luminance0.4963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C138 #3938C1
analogous
#C17E38 #C0C138 #7CC138
triadic
#C0C138 #38C0C1 #C138C0
tetradic
#C0C138 #38C17E #3938C1 #C1387C
square
#C0C138 #38C17E #3938C1 #C1387C
split-complementary
#C0C138 #387CC1 #7E38C1
monochromatic
#62621C #91922A #C0C138 #D1D264 #DFE094

Accessibility & contrast

On white

1.92
#C0C138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.93
#C0C138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0C138
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0C138#FFFFFF#000000##000000
##C0C1381.001.9210.9310.93
#FFFFFF1.921.0021.0021.00
#00000010.9321.001.001.00
##00000010.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B91F
Deuteranopia (green-blind)
#D2BD42
Tritanopia (blue-blind)
#CDB5A6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c0c138;
/* rgb */ color: rgb(192, 193, 56);
/* oklch */ color: oklch(78.6% 0.153 109.9);
Tailwind
colors: {
  custom: {
    50: '#d7d378',
    500: '#c0c138',
    950: '#000000',
  },
}
SCSS
$custom: #c0c138;
$custom-light: #d7d378;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c138",
  "rgb": {
    "r": 192,
    "g": 193,
    "b": 56
  },
  "hsl": {
    "h": 60.438,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.78609,
    "c": 0.15274,
    "h": 109.9
  },
  "luminance": 0.49632
}

Semantic roles & 50–950 ramp

primary
#C0C138
secondary
#8A8ACB
accent
#49DE4B
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#151409
muted
#83827B

Preview Lab

Preview with #C0C138

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

Preview Lab → · Contrast checker → · Palette generator →

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