#C5C837#C5C837

#C5C837 is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.5% C 0.159 H 110.7°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#C5C837
RGBrgb(197, 200, 55)
HSLhsl(61, 57%, 50%)
HSVhsv(61, 73%, 78%)
CMYKcmyk(1.5%, 0%, 72.5%, 21.6%)
CIE-LABlab(78.14, -17.92, 67.52)
CIE-LCHlch(78.14, 69.86, 104.86°)
OKLaboklab(80.54% -0.0563 0.149)
OKLCHoklch(80.54% 0.159 110.7)
XYZxyz(44.3714, 53.4559, 11.5944)
Luminance0.5345 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C837 #3A37C8
analogous
#C88237 #C5C837 #7DC837
triadic
#C5C837 #37C5C8 #C837C5
tetradic
#C5C837 #37C882 #3A37C8 #C8377D
square
#C5C837 #37C882 #3A37C8 #C8377D
split-complementary
#C5C837 #377DC8 #8237C8
monochromatic
#66681D #96982A #C5C837 #D3D567 #E1E297

Accessibility & contrast

On white

1.80
#C5C837 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.69
#C5C837 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C837
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C837#FFFFFF#000000##000000
##C5C8371.001.8011.6911.69
#FFFFFF1.801.0021.0021.00
#00000011.6921.001.001.00
##00000011.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF1A
Deuteranopia (green-blind)
#D9C342
Tritanopia (blue-blind)
#D3BBAC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c5c837;
/* rgb */ color: rgb(197, 200, 55);
/* oklch */ color: oklch(80.5% 0.159 110.7);
Tailwind
colors: {
  custom: {
    50: '#dad878',
    500: '#c5c837',
    950: '#000000',
  },
}
SCSS
$custom: #c5c837;
$custom-light: #dad878;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c837",
  "rgb": {
    "r": 197,
    "g": 200,
    "b": 55
  },
  "hsl": {
    "h": 61.241,
    "s": 56.863,
    "l": 50
  },
  "oklch": {
    "l": 0.80543,
    "c": 0.15927,
    "h": 110.7
  },
  "luminance": 0.53455
}

Semantic roles & 50–950 ramp

primary
#C5C837
secondary
#323172
accent
#48E04B
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#15140A
muted
#84837D

Preview Lab

Preview with #C5C837

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

Preview Lab → · Contrast checker → · Palette generator →

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