#C1C151#C1C151

#C1C151 is a light, vivid yellow. Relative luminance 0.501; OKLCH L 78.9% C 0.134 H 109.1°. Best body text is #000000 at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#C1C151
RGBrgb(193, 193, 81)
HSLhsl(60, 47%, 54%)
HSVhsv(60, 58%, 76%)
CMYKcmyk(0%, 0%, 58%, 24.3%)
CIE-LABlab(76.11, -14.55, 55.05)
CIE-LCHlch(76.11, 56.94, 104.81°)
OKLaboklab(78.91% -0.0439 0.1268)
OKLCHoklch(78.91% 0.134 109.1)
XYZxyz(42.5487, 50.0726, 15.2066)
Luminance0.5007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1C151 #5151C1
analogous
#C18951 #C1C151 #89C151
triadic
#C1C151 #51C1C1 #C151C1
tetradic
#C1C151 #51C189 #5151C1 #C15189
square
#C1C151 #51C189 #5151C1 #C15189
split-complementary
#C1C151 #5189C1 #8951C1
monochromatic
#707028 #9D9D38 #C1C151 #D1D17E #E1E1AB

Accessibility & contrast

On white

1.91
#C1C151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.01
#C1C151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1C151
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1C151#FFFFFF#000000##000000
##C1C1511.001.9111.0111.01
#FFFFFF1.911.0021.0021.00
#00000011.0121.001.001.00
##00000011.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA45
Deuteranopia (green-blind)
#D1BD57
Tritanopia (blue-blind)
#CEB6A9
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c1c151;
/* rgb */ color: rgb(193, 193, 81);
/* oklch */ color: oklch(78.9% 0.134 109.1);
Tailwind
colors: {
  custom: {
    50: '#d6d386',
    500: '#c1c151',
    950: '#000000',
  },
}
SCSS
$custom: #c1c151;
$custom-light: #d6d386;
$custom-dark: #000000;
JSON
{
  "hex": "#c1c151",
  "rgb": {
    "r": 193,
    "g": 193,
    "b": 81
  },
  "hsl": {
    "h": 60,
    "s": 47.458,
    "l": 53.725
  },
  "oklch": {
    "l": 0.78905,
    "c": 0.13418,
    "h": 109.1
  },
  "luminance": 0.50071
}

Semantic roles & 50–950 ramp

primary
#C1C151
secondary
#3D3D79
accent
#51D751
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C1C151

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

Preview Lab → · Contrast checker → · Palette generator →

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