#C0C124#C0C124

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

Color values

HEX#C0C124
RGBrgb(192, 193, 36)
HSLhsl(60, 69%, 45%)
HSVhsv(60, 81%, 76%)
CMYKcmyk(0.5%, 0%, 81.3%, 24.3%)
CIE-LABlab(75.75, -17.27, 70.89)
CIE-LCHlch(75.75, 72.97, 103.69°)
OKLaboklab(78.5% -0.0557 0.153)
OKLCHoklch(78.5% 0.163 110)
XYZxyz(41.1282, 49.4750, 9.0519)
Luminance0.4947 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C124 #2524C1
analogous
#C17324 #C0C124 #72C124
triadic
#C0C124 #24C0C1 #C124C0
tetradic
#C0C124 #24C173 #2524C1 #C12472
square
#C0C124 #24C173 #2524C1 #C12472
split-complementary
#C0C124 #2472C1 #7324C1
monochromatic
#595A11 #8D8D1A #C0C124 #DBDC46 #E5E679

Accessibility & contrast

On white

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

On black

10.89
#C0C124 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0C124
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0C124#FFFFFF#000000##000000
##C0C1241.001.9310.8910.89
#FFFFFF1.931.0021.0021.00
#00000010.8921.001.001.00
##00000010.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c0c124;
/* rgb */ color: rgb(192, 193, 36);
/* oklch */ color: oklch(78.5% 0.163 110.0);
Tailwind
colors: {
  custom: {
    50: '#d7d36f',
    500: '#c0c124',
    950: '#000000',
  },
}
SCSS
$custom: #c0c124;
$custom-light: #d7d36f;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c124",
  "rgb": {
    "r": 192,
    "g": 193,
    "b": 36
  },
  "hsl": {
    "h": 60.382,
    "s": 68.559,
    "l": 44.902
  },
  "oklch": {
    "l": 0.785,
    "c": 0.16284,
    "h": 110
  },
  "luminance": 0.49474
}

Semantic roles & 50–950 ramp

primary
#C0C124
secondary
#7473CE
accent
#3CEB3E
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151408
muted
#83827B

Preview Lab

Preview with #C0C124

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

Preview Lab → · Contrast checker → · Palette generator →

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