#C5C836#C5C836

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

Color values

HEX#C5C836
RGBrgb(197, 200, 54)
HSLhsl(61, 57%, 50%)
HSVhsv(61, 73%, 78%)
CMYKcmyk(1.5%, 0%, 73%, 21.6%)
CIE-LABlab(78.14, -17.96, 67.85)
CIE-LCHlch(78.14, 70.19, 104.83°)
OKLaboklab(80.54% -0.0565 0.1495)
OKLCHoklch(80.54% 0.16 110.7)
XYZxyz(44.3476, 53.4464, 11.4694)
Luminance0.5344 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C836 #3936C8
analogous
#C88236 #C5C836 #7CC836
triadic
#C5C836 #36C5C8 #C836C5
tetradic
#C5C836 #36C882 #3936C8 #C8367C
square
#C5C836 #36C882 #3936C8 #C8367C
split-complementary
#C5C836 #367CC8 #8236C8
monochromatic
#66681C #969829 #C5C836 #D3D666 #E1E396

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5C836#FFFFFF#000000##000000
##C5C8361.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)
#D8BF18
Deuteranopia (green-blind)
#D9C342
Tritanopia (blue-blind)
#D3BBAC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c5c836;
/* rgb */ color: rgb(197, 200, 54);
/* oklch */ color: oklch(80.5% 0.160 110.7);
Tailwind
colors: {
  custom: {
    50: '#dad878',
    500: '#c5c836',
    950: '#000000',
  },
}
SCSS
$custom: #c5c836;
$custom-light: #dad878;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c836",
  "rgb": {
    "r": 197,
    "g": 200,
    "b": 54
  },
  "hsl": {
    "h": 61.233,
    "s": 57.48,
    "l": 49.804
  },
  "oklch": {
    "l": 0.80537,
    "c": 0.15984,
    "h": 110.7
  },
  "luminance": 0.53445
}

Semantic roles & 50–950 ramp

primary
#C5C836
secondary
#323072
accent
#47E14A
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#15140A
muted
#84837D

Preview Lab

Preview with #C5C836

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

Preview Lab → · Contrast checker → · Palette generator →

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