#C1C526#C1C526

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

Color values

HEX#C1C526
RGBrgb(193, 197, 38)
HSLhsl(62, 68%, 46%)
HSVhsv(62, 81%, 77%)
CMYKcmyk(2%, 0%, 80.7%, 22.7%)
CIE-LABlab(76.93, -18.78, 71.43)
CIE-LCHlch(76.93, 73.85, 104.73°)
OKLaboklab(79.47% -0.0598 0.1545)
OKLCHoklch(79.47% 0.166 111.2)
XYZxyz(42.3100, 51.4111, 9.5279)
Luminance0.5141 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1C526 #2A26C5
analogous
#C57926 #C1C526 #72C526
triadic
#C1C526 #26C1C5 #C526C1
tetradic
#C1C526 #26C579 #2A26C5 #C52672
square
#C1C526 #26C579 #2A26C5 #C52672
split-complementary
#C1C526 #2672C5 #7926C5
monochromatic
#5C5E12 #8F921C #C1C526 #D9DC4C #E4E67F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C1C526#FFFFFF#000000##000000
##C1C5261.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)
#D6C036
Tritanopia (blue-blind)
#CFB8A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c1c526;
/* rgb */ color: rgb(193, 197, 38);
/* oklch */ color: oklch(79.5% 0.166 111.2);
Tailwind
colors: {
  custom: {
    50: '#d8d670',
    500: '#c1c526',
    950: '#000000',
  },
}
SCSS
$custom: #c1c526;
$custom-light: #d8d670;
$custom-dark: #000000;
JSON
{
  "hex": "#c1c526",
  "rgb": {
    "r": 193,
    "g": 197,
    "b": 38
  },
  "hsl": {
    "h": 61.509,
    "s": 67.66,
    "l": 46.078
  },
  "oklch": {
    "l": 0.79467,
    "c": 0.16563,
    "h": 111.2
  },
  "luminance": 0.5141
}

Semantic roles & 50–950 ramp

primary
#C1C526
secondary
#27266A
accent
#3DEB42
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151408
muted
#84837D

Preview Lab

Preview with #C1C526

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

Preview Lab → · Contrast checker → · Palette generator →

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