#C0C127#C0C127

#C0C127 is a light, vivid yellow. Relative luminance 0.495; OKLCH L 78.5% C 0.162 H 110.0°. Best body text is #000000 at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#C0C127
RGBrgb(192, 193, 39)
HSLhsl(60, 66%, 45%)
HSVhsv(60, 80%, 76%)
CMYKcmyk(0.5%, 0%, 79.8%, 24.3%)
CIE-LABlab(75.76, -17.18, 70.11)
CIE-LCHlch(75.76, 72.19, 103.77°)
OKLaboklab(78.51% -0.0553 0.1518)
OKLCHoklch(78.51% 0.162 110)
XYZxyz(41.1760, 49.4941, 9.3034)
Luminance0.4949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C127 #2827C1
analogous
#C17527 #C0C127 #73C127
triadic
#C0C127 #27C0C1 #C127C0
tetradic
#C0C127 #27C175 #2827C1 #C12773
square
#C0C127 #27C175 #2827C1 #C12773
split-complementary
#C0C127 #2773C1 #7527C1
monochromatic
#5B5B12 #8D8E1D #C0C127 #DADB4B #E4E57E

Accessibility & contrast

On white

1.93
#C0C127 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.90
#C0C127 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0C127
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0C127#FFFFFF#000000##000000
##C0C1271.001.9310.9010.90
#FFFFFF1.931.0021.0021.00
#00000010.9021.001.001.00
##00000010.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B800
Deuteranopia (green-blind)
#D3BD36
Tritanopia (blue-blind)
#CEB4A5
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c0c127;
/* rgb */ color: rgb(192, 193, 39);
/* oklch */ color: oklch(78.5% 0.162 110.0);
Tailwind
colors: {
  custom: {
    50: '#d7d370',
    500: '#c0c127',
    950: '#000000',
  },
}
SCSS
$custom: #c0c127;
$custom-light: #d7d370;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c127",
  "rgb": {
    "r": 192,
    "g": 193,
    "b": 39
  },
  "hsl": {
    "h": 60.39,
    "s": 66.379,
    "l": 45.49
  },
  "oklch": {
    "l": 0.78513,
    "c": 0.16159,
    "h": 110
  },
  "luminance": 0.49493
}

Semantic roles & 50–950 ramp

primary
#C0C127
secondary
#7777CD
accent
#3EE940
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151408
muted
#83827B

Preview Lab

Preview with #C0C127

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

Preview Lab → · Contrast checker → · Palette generator →

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