#C5C037#C5C037

#C5C037 is a light, vivid yellow. Relative luminance 0.498; OKLCH L 78.8% C 0.151 H 107.3°. Best body text is #000000 at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#C5C037
RGBrgb(197, 192, 55)
HSLhsl(58, 56%, 49%)
HSVhsv(58, 72%, 77%)
CMYKcmyk(0%, 2.5%, 72.1%, 22.7%)
CIE-LABlab(75.98, -13.90, 65.45)
CIE-LCHlch(75.98, 66.91, 101.99°)
OKLaboklab(78.81% -0.045 0.1446)
OKLCHoklch(78.81% 0.151 107.3)
XYZxyz(42.5668, 49.8469, 10.9929)
Luminance0.4985 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C037 #373CC5
analogous
#C57937 #C5C037 #83C537
triadic
#C5C037 #37C5C0 #C037C5
tetradic
#C5C037 #37C579 #373CC5 #C53783
square
#C5C037 #37C579 #373CC5 #C53783
split-complementary
#C5C037 #3783C5 #7937C5
monochromatic
#65631C #95912A #C5C037 #D4D065 #E1DF95

Accessibility & contrast

On white

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

On black

10.97
#C5C037 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C037
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C037#FFFFFF#000000##000000
##C5C0371.001.9110.9710.97
#FFFFFF1.911.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B81E
Deuteranopia (green-blind)
#D3BE41
Tritanopia (blue-blind)
#D3B3A5
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c5c037;
/* rgb */ color: rgb(197, 192, 55);
/* oklch */ color: oklch(78.8% 0.151 107.3);
Tailwind
colors: {
  custom: {
    50: '#dad277',
    500: '#c5c037',
    950: '#000000',
  },
}
SCSS
$custom: #c5c037;
$custom-light: #dad277;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c037",
  "rgb": {
    "r": 197,
    "g": 192,
    "b": 55
  },
  "hsl": {
    "h": 57.887,
    "s": 56.349,
    "l": 49.412
  },
  "oklch": {
    "l": 0.78812,
    "c": 0.15146,
    "h": 107.3
  },
  "luminance": 0.49845
}

Semantic roles & 50–950 ramp

primary
#C5C037
secondary
#8B8DCD
accent
#4DE048
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#151409
muted
#83827B

Preview Lab

Preview with #C5C037

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

Preview Lab → · Contrast checker → · Palette generator →

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