#C5C82C#C5C82C

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

Color values

HEX#C5C82C
RGBrgb(197, 200, 44)
HSLhsl(61, 64%, 48%)
HSVhsv(61, 78%, 78%)
CMYKcmyk(1.5%, 0%, 78%, 21.6%)
CIE-LABlab(78.09, -18.36, 70.92)
CIE-LCHlch(78.09, 73.26, 104.52°)
OKLaboklab(80.48% -0.0584 0.1543)
OKLCHoklch(80.48% 0.165 110.7)
XYZxyz(44.1365, 53.3620, 10.3573)
Luminance0.5336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C82C #2F2CC8
analogous
#C87D2C #C5C82C #77C82C
triadic
#C5C82C #2CC5C8 #C82CC5
tetradic
#C5C82C #2CC87D #2F2CC8 #C82C77
square
#C5C82C #2CC87D #2F2CC8 #C82C77
split-complementary
#C5C82C #2C77C8 #7D2CC8
monochromatic
#626416 #949621 #C5C82C #D8DA57 #E3E589

Accessibility & contrast

On white

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

On black

11.67
#C5C82C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C82C
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C82C#FFFFFF#000000##000000
##C5C82C1.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF00
Deuteranopia (green-blind)
#D9C33A
Tritanopia (blue-blind)
#D3BBAB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c5c82c;
/* rgb */ color: rgb(197, 200, 44);
/* oklch */ color: oklch(80.5% 0.165 110.7);
Tailwind
colors: {
  custom: {
    50: '#dbd873',
    500: '#c5c82c',
    950: '#000000',
  },
}
SCSS
$custom: #c5c82c;
$custom-light: #dbd873;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c82c",
  "rgb": {
    "r": 197,
    "g": 200,
    "b": 44
  },
  "hsl": {
    "h": 61.154,
    "s": 63.934,
    "l": 47.843
  },
  "oklch": {
    "l": 0.80481,
    "c": 0.16497,
    "h": 110.7
  },
  "luminance": 0.53361
}

Semantic roles & 50–950 ramp

primary
#C5C82C
secondary
#2B2A6E
accent
#41E744
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C5C82C

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

Preview Lab → · Contrast checker → · Palette generator →

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