#C1C523#C1C523

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

Color values

HEX#C1C523
RGBrgb(193, 197, 35)
HSLhsl(61, 70%, 45%)
HSVhsv(61, 82%, 77%)
CMYKcmyk(2%, 0%, 82.2%, 22.7%)
CIE-LABlab(76.92, -18.87, 72.17)
CIE-LCHlch(76.92, 74.60, 104.65°)
OKLaboklab(79.46% -0.0603 0.1556)
OKLCHoklch(79.46% 0.167 111.2)
XYZxyz(42.2635, 51.3925, 9.2832)
Luminance0.5139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1C523 #2723C5
analogous
#C57823 #C1C523 #70C523
triadic
#C1C523 #23C1C5 #C523C1
tetradic
#C1C523 #23C578 #2723C5 #C52370
square
#C1C523 #23C578 #2723C5 #C52370
split-complementary
#C1C523 #2370C5 #7823C5
monochromatic
#5B5D11 #8E911A #C1C523 #DBDE47 #E5E87B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C1C523#FFFFFF#000000##000000
##C1C5231.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)
#D6C034
Tritanopia (blue-blind)
#CFB8A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c1c523;
/* rgb */ color: rgb(193, 197, 35);
/* oklch */ color: oklch(79.5% 0.167 111.2);
Tailwind
colors: {
  custom: {
    50: '#d8d66f',
    500: '#c1c523',
    950: '#000000',
  },
}
SCSS
$custom: #c1c523;
$custom-light: #d8d66f;
$custom-dark: #000000;
JSON
{
  "hex": "#c1c523",
  "rgb": {
    "r": 193,
    "g": 197,
    "b": 35
  },
  "hsl": {
    "h": 61.481,
    "s": 69.828,
    "l": 45.49
  },
  "oklch": {
    "l": 0.79455,
    "c": 0.16682,
    "h": 111.2
  },
  "luminance": 0.51391
}

Semantic roles & 50–950 ramp

primary
#C1C523
secondary
#262468
accent
#3BED40
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151408
muted
#84837D

Preview Lab

Preview with #C1C523

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

Preview Lab → · Contrast checker → · Palette generator →

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