#C5C91C#C5C91C

#C5C91C is a light, vivid yellow. Relative luminance 0.537; OKLCH L 80.6% C 0.172 H 111.2°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#C5C91C
RGBrgb(197, 201, 28)
HSLhsl(61, 76%, 45%)
HSVhsv(61, 86%, 79%)
CMYKcmyk(2%, 0%, 86.1%, 21.2%)
CIE-LABlab(78.30, -19.33, 75.01)
CIE-LCHlch(78.30, 77.46, 104.45°)
OKLaboklab(80.64% -0.0621 0.1604)
OKLCHoklch(80.64% 0.172 111.2)
XYZxyz(44.1239, 53.7287, 9.1448)
Luminance0.5373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C91C #201CC9
analogous
#C9761C #C5C91C #6FC91C
triadic
#C5C91C #1CC5C9 #C91CC5
tetradic
#C5C91C #1CC976 #201CC9 #C91C6F
square
#C5C91C #1CC976 #201CC9 #C91C6F
split-complementary
#C5C91C #1C6FC9 #761CC9
monochromatic
#5C5E0D #909315 #C5C91C #E0E43E #E9EC74

Accessibility & contrast

On white

1.79
#C5C91C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.75
#C5C91C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C91C
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C91C#FFFFFF#000000##000000
##C5C91C1.001.7911.7511.75
#FFFFFF1.791.0021.0021.00
#00000011.7521.001.001.00
##00000011.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C000
Deuteranopia (green-blind)
#DBC430
Tritanopia (blue-blind)
#D3BCAC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c5c91c;
/* rgb */ color: rgb(197, 201, 28);
/* oklch */ color: oklch(80.6% 0.172 111.2);
Tailwind
colors: {
  custom: {
    50: '#dbd96e',
    500: '#c5c91c',
    950: '#000000',
  },
}
SCSS
$custom: #c5c91c;
$custom-light: #dbd96e;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c91c",
  "rgb": {
    "r": 197,
    "g": 201,
    "b": 28
  },
  "hsl": {
    "h": 61.387,
    "s": 75.546,
    "l": 44.902
  },
  "oklch": {
    "l": 0.80635,
    "c": 0.17203,
    "h": 111.2
  },
  "luminance": 0.53727
}

Semantic roles & 50–950 ramp

primary
#C5C91C
secondary
#222069
accent
#36F23A
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161408
muted
#84837D

Preview Lab

Preview with #C5C91C

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

Preview Lab → · Contrast checker → · Palette generator →

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