#C1C528#C1C528

#C1C528 is a light, vivid yellow. Relative luminance 0.514; OKLCH L 79.5% C 0.165 H 111.2°. Best body text is #000000 at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#C1C528
RGBrgb(193, 197, 40)
HSLhsl(62, 66%, 46%)
HSVhsv(62, 80%, 77%)
CMYKcmyk(2%, 0%, 79.7%, 22.7%)
CIE-LABlab(76.94, -18.71, 70.90)
CIE-LCHlch(76.94, 73.33, 104.78°)
OKLaboklab(79.48% -0.0595 0.1537)
OKLCHoklch(79.48% 0.165 111.2)
XYZxyz(42.3431, 51.4243, 9.7025)
Luminance0.5142 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1C528 #2C28C5
analogous
#C57B28 #C1C528 #73C528
triadic
#C1C528 #28C1C5 #C528C1
tetradic
#C1C528 #28C57B #2C28C5 #C52873
square
#C1C528 #28C57B #2C28C5 #C52873
split-complementary
#C1C528 #2873C5 #7B28C5
monochromatic
#5D5F13 #8F921E #C1C528 #D8DB4F #E3E682

Accessibility & contrast

On white

1.86
#C1C528 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.28
#C1C528 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1C528
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1C528#FFFFFF#000000##000000
##C1C5281.001.8611.2811.28
#FFFFFF1.861.0021.0021.00
#00000011.2821.001.001.00
##00000011.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BC00
Deuteranopia (green-blind)
#D6C037
Tritanopia (blue-blind)
#CFB8A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c1c528;
/* rgb */ color: rgb(193, 197, 40);
/* oklch */ color: oklch(79.5% 0.165 111.2);
Tailwind
colors: {
  custom: {
    50: '#d8d671',
    500: '#c1c528',
    950: '#000000',
  },
}
SCSS
$custom: #c1c528;
$custom-light: #d8d671;
$custom-dark: #000000;
JSON
{
  "hex": "#c1c528",
  "rgb": {
    "r": 193,
    "g": 197,
    "b": 40
  },
  "hsl": {
    "h": 61.529,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.79476,
    "c": 0.16479,
    "h": 111.2
  },
  "luminance": 0.51423
}

Semantic roles & 50–950 ramp

primary
#C1C528
secondary
#29276A
accent
#3FE943
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C1C528

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

Preview Lab → · Contrast checker → · Palette generator →

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