#C5C137#C5C137

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

Color values

HEX#C5C137
RGBrgb(197, 193, 55)
HSLhsl(58, 56%, 49%)
HSVhsv(58, 72%, 77%)
CMYKcmyk(0%, 2%, 72.1%, 22.7%)
CIE-LABlab(76.25, -14.41, 65.71)
CIE-LCHlch(76.25, 67.27, 102.37°)
OKLaboklab(79.03% -0.0465 0.1452)
OKLCHoklch(79.03% 0.152 107.7)
XYZxyz(42.7871, 50.2875, 11.0663)
Luminance0.5029 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C137 #373BC5
analogous
#C57A37 #C5C137 #82C537
triadic
#C5C137 #37C5C1 #C137C5
tetradic
#C5C137 #37C57A #373BC5 #C53782
square
#C5C137 #37C57A #373BC5 #C53782
split-complementary
#C5C137 #3782C5 #7A37C5
monochromatic
#65631C #95922A #C5C137 #D4D165 #E1DF95

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5C137#FFFFFF#000000##000000
##C5C1371.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)
#D1B91D
Deuteranopia (green-blind)
#D4BE41
Tritanopia (blue-blind)
#D3B4A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c5c137;
/* rgb */ color: rgb(197, 193, 55);
/* oklch */ color: oklch(79.0% 0.152 107.7);
Tailwind
colors: {
  custom: {
    50: '#dad377',
    500: '#c5c137',
    950: '#000000',
  },
}
SCSS
$custom: #c5c137;
$custom-light: #dad377;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c137",
  "rgb": {
    "r": 197,
    "g": 193,
    "b": 55
  },
  "hsl": {
    "h": 58.31,
    "s": 56.349,
    "l": 49.412
  },
  "oklch": {
    "l": 0.79027,
    "c": 0.15241,
    "h": 107.7
  },
  "luminance": 0.50286
}

Semantic roles & 50–950 ramp

primary
#C5C137
secondary
#313270
accent
#4CE048
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C5C137

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

Preview Lab → · Contrast checker → · Palette generator →

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