#C5C136#C5C136

#C5C136 is a light, vivid yellow. Relative luminance 0.503; OKLCH L 79.0% C 0.153 H 107.8°. Best body text is #000000 at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#C5C136
RGBrgb(197, 193, 54)
HSLhsl(58, 57%, 49%)
HSVhsv(58, 73%, 77%)
CMYKcmyk(0%, 2%, 72.6%, 22.7%)
CIE-LABlab(76.24, -14.45, 66.05)
CIE-LCHlch(76.24, 67.61, 102.34°)
OKLaboklab(79.02% -0.0467 0.1457)
OKLCHoklch(79.02% 0.153 107.8)
XYZxyz(42.7634, 50.2780, 10.9413)
Luminance0.5028 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C136 #363AC5
analogous
#C57A36 #C5C136 #82C536
triadic
#C5C136 #36C5C1 #C136C5
tetradic
#C5C136 #36C57A #363AC5 #C53682
square
#C5C136 #36C57A #363AC5 #C53682
split-complementary
#C5C136 #3682C5 #7A36C5
monochromatic
#65631C #959229 #C5C136 #D4D164 #E2DF94

Accessibility & contrast

On white

1.90
#C5C136 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.06
#C5C136 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C136
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C136#FFFFFF#000000##000000
##C5C1361.001.9011.0611.06
#FFFFFF1.901.0021.0021.00
#00000011.0621.001.001.00
##00000011.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B91B
Deuteranopia (green-blind)
#D4BE40
Tritanopia (blue-blind)
#D3B4A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c5c136;
/* rgb */ color: rgb(197, 193, 54);
/* oklch */ color: oklch(79.0% 0.153 107.8);
Tailwind
colors: {
  custom: {
    50: '#dad377',
    500: '#c5c136',
    950: '#000000',
  },
}
SCSS
$custom: #c5c136;
$custom-light: #dad377;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c136",
  "rgb": {
    "r": 197,
    "g": 193,
    "b": 54
  },
  "hsl": {
    "h": 58.322,
    "s": 56.972,
    "l": 49.216
  },
  "oklch": {
    "l": 0.79021,
    "c": 0.153,
    "h": 107.8
  },
  "luminance": 0.50277
}

Semantic roles & 50–950 ramp

primary
#C5C136
secondary
#30326F
accent
#4CE048
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C5C136

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

Preview Lab → · Contrast checker → · Palette generator →

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