#C1CD28#C1CD28

#C1CD28 is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.2% C 0.173 H 114.0°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#C1CD28
RGBrgb(193, 205, 40)
HSLhsl(64, 67%, 48%)
HSVhsv(64, 80%, 80%)
CMYKcmyk(5.9%, 0%, 80.5%, 19.6%)
CIE-LABlab(79.13, -22.64, 72.82)
CIE-LCHlch(79.13, 76.26, 107.27°)
OKLaboklab(81.23% -0.0704 0.1578)
OKLCHoklch(81.23% 0.173 114)
XYZxyz(44.2081, 55.1542, 10.3241)
Luminance0.5515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1CD28 #3428CD
analogous
#CD8728 #C1CD28 #6ECD28
triadic
#C1CD28 #28C1CD #CD28C1
tetradic
#C1CD28 #28CD87 #3428CD #CD286E
square
#C1CD28 #28CD87 #3428CD #CD286E
split-complementary
#C1CD28 #286ECD #8728CD
monochromatic
#616714 #919A1E #C1CD28 #D4DE54 #E1E888

Accessibility & contrast

On white

1.75
#C1CD28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.03
#C1CD28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1CD28
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1CD28#FFFFFF#000000##000000
##C1CD281.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC300
Deuteranopia (green-blind)
#DCC539
Tritanopia (blue-blind)
#CEC0AF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c1cd28;
/* rgb */ color: rgb(193, 205, 40);
/* oklch */ color: oklch(81.2% 0.173 114.0);
Tailwind
colors: {
  custom: {
    50: '#d8dc72',
    500: '#c1cd28',
    950: '#000000',
  },
}
SCSS
$custom: #c1cd28;
$custom-light: #d8dc72;
$custom-dark: #000000;
JSON
{
  "hex": "#c1cd28",
  "rgb": {
    "r": 193,
    "g": 205,
    "b": 40
  },
  "hsl": {
    "h": 64.364,
    "s": 67.347,
    "l": 48.039
  },
  "oklch": {
    "l": 0.81234,
    "c": 0.17277,
    "h": 114
  },
  "luminance": 0.55153
}

Semantic roles & 50–950 ramp

primary
#C1CD28
secondary
#2E2871
accent
#3EEA4A
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151509
muted
#84847D

Preview Lab

Preview with #C1CD28

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

Preview Lab → · Contrast checker → · Palette generator →

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