#C5C841#C5C841

#C5C841 is a light, vivid yellow. Relative luminance 0.536; OKLCH L 80.6% C 0.153 H 110.6°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#C5C841
RGBrgb(197, 200, 65)
HSLhsl(61, 55%, 52%)
HSVhsv(61, 68%, 78%)
CMYKcmyk(1.5%, 0%, 67.5%, 21.6%)
CIE-LABlab(78.21, -17.41, 63.97)
CIE-LCHlch(78.21, 66.30, 105.23°)
OKLaboklab(80.61% -0.0539 0.1432)
OKLCHoklch(80.61% 0.153 110.6)
XYZxyz(44.6358, 53.5617, 12.9872)
Luminance0.5356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C841 #4441C8
analogous
#C88741 #C5C841 #82C841
triadic
#C5C841 #41C5C8 #C841C5
tetradic
#C5C841 #41C887 #4441C8 #C84182
square
#C5C841 #41C887 #4441C8 #C84182
split-complementary
#C5C841 #4182C8 #8741C8
monochromatic
#6D6F20 #9C9E2E #C5C841 #D3D670 #E2E3A0

Accessibility & contrast

On white

1.79
#C5C841 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.71
#C5C841 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C841
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C841#FFFFFF#000000##000000
##C5C8411.001.7911.7111.71
#FFFFFF1.791.0021.0021.00
#00000011.7121.001.001.00
##00000011.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF2C
Deuteranopia (green-blind)
#D8C34B
Tritanopia (blue-blind)
#D2BCAD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c5c841;
/* rgb */ color: rgb(197, 200, 65);
/* oklch */ color: oklch(80.6% 0.153 110.6);
Tailwind
colors: {
  custom: {
    50: '#dad87d',
    500: '#c5c841',
    950: '#000000',
  },
}
SCSS
$custom: #c5c841;
$custom-light: #dad87d;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c841",
  "rgb": {
    "r": 197,
    "g": 200,
    "b": 65
  },
  "hsl": {
    "h": 61.333,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.80613,
    "c": 0.15302,
    "h": 110.6
  },
  "luminance": 0.53561
}

Semantic roles & 50–950 ramp

primary
#C5C841
secondary
#373578
accent
#49DE4D
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C5C841

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

Preview Lab → · Contrast checker → · Palette generator →

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