#C1CD51#C1CD51

#C1CD51 is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.5% C 0.148 H 114.4°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#C1CD51
RGBrgb(193, 205, 81)
HSLhsl(66, 55%, 56%)
HSVhsv(66, 60%, 80%)
CMYKcmyk(5.9%, 0%, 60.5%, 19.6%)
CIE-LABlab(79.38, -20.54, 58.63)
CIE-LCHlch(79.38, 62.13, 109.31°)
OKLaboklab(81.52% -0.0608 0.1344)
OKLCHoklch(81.52% 0.148 114.4)
XYZxyz(45.3099, 55.5949, 16.1270)
Luminance0.5559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1CD51 #5D51CD
analogous
#CD9B51 #C1CD51 #83CD51
triadic
#C1CD51 #51C1CD #CD51C1
tetradic
#C1CD51 #51CD9B #5D51CD #CD5183
square
#C1CD51 #51CD9B #5D51CD #CD5183
split-complementary
#C1CD51 #5183CD #9B51CD
monochromatic
#767F25 #A3AF32 #C1CD51 #D2DB81 #E3E8B0

Accessibility & contrast

On white

1.73
#C1CD51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.12
#C1CD51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1CD51
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1CD51#FFFFFF#000000##000000
##C1CD511.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC442
Deuteranopia (green-blind)
#DAC659
Tritanopia (blue-blind)
#CDC2B3
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c1cd51;
/* rgb */ color: rgb(193, 205, 81);
/* oklch */ color: oklch(81.5% 0.148 114.4);
Tailwind
colors: {
  custom: {
    50: '#d6dc87',
    500: '#c1cd51',
    950: '#000000',
  },
}
SCSS
$custom: #c1cd51;
$custom-light: #d6dc87;
$custom-dark: #000000;
JSON
{
  "hex": "#c1cd51",
  "rgb": {
    "r": 193,
    "g": 205,
    "b": 81
  },
  "hsl": {
    "h": 65.806,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.81518,
    "c": 0.14752,
    "h": 114.4
  },
  "luminance": 0.55594
}

Semantic roles & 50–950 ramp

primary
#C1CD51
secondary
#433B87
accent
#49DF58
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15150C
muted
#84847F

Preview Lab

Preview with #C1CD51

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

Preview Lab → · Contrast checker → · Palette generator →

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