#C1C428#C1C428

#C1C428 is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.3% C 0.164 H 110.8°. Best body text is #000000 at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#C1C428
RGBrgb(193, 196, 40)
HSLhsl(61, 66%, 46%)
HSVhsv(61, 80%, 77%)
CMYKcmyk(1.5%, 0%, 79.6%, 23.1%)
CIE-LABlab(76.66, -18.21, 70.66)
CIE-LCHlch(76.66, 72.97, 104.45°)
OKLaboklab(79.26% -0.0581 0.1532)
OKLCHoklch(79.26% 0.164 110.8)
XYZxyz(42.1168, 50.9717, 9.6270)
Luminance0.5097 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1C428 #2B28C4
analogous
#C47928 #C1C428 #73C428
triadic
#C1C428 #28C1C4 #C428C1
tetradic
#C1C428 #28C479 #2B28C4 #C42873
square
#C1C428 #28C479 #2B28C4 #C42873
split-complementary
#C1C428 #2873C4 #7928C4
monochromatic
#5D5E13 #8F911E #C1C428 #D8DB4E #E3E581

Accessibility & contrast

On white

1.88
#C1C428 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.19
#C1C428 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1C428
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1C428#FFFFFF#000000##000000
##C1C4281.001.8811.1911.19
#FFFFFF1.881.0021.0021.00
#00000011.1921.001.001.00
##00000011.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BB00
Deuteranopia (green-blind)
#D5BF37
Tritanopia (blue-blind)
#CFB7A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c1c428;
/* rgb */ color: rgb(193, 196, 40);
/* oklch */ color: oklch(79.3% 0.164 110.8);
Tailwind
colors: {
  custom: {
    50: '#d8d571',
    500: '#c1c428',
    950: '#000000',
  },
}
SCSS
$custom: #c1c428;
$custom-light: #d8d571;
$custom-dark: #000000;
JSON
{
  "hex": "#c1c428",
  "rgb": {
    "r": 193,
    "g": 196,
    "b": 40
  },
  "hsl": {
    "h": 61.154,
    "s": 66.102,
    "l": 46.275
  },
  "oklch": {
    "l": 0.79257,
    "c": 0.16382,
    "h": 110.8
  },
  "luminance": 0.50971
}

Semantic roles & 50–950 ramp

primary
#C1C428
secondary
#282769
accent
#3FE942
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C1C428

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

Preview Lab → · Contrast checker → · Palette generator →

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