#C5C82E#C5C82E

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

Color values

HEX#C5C82E
RGBrgb(197, 200, 46)
HSLhsl(61, 63%, 48%)
HSVhsv(61, 77%, 78%)
CMYKcmyk(1.5%, 0%, 77%, 21.6%)
CIE-LABlab(78.10, -18.29, 70.35)
CIE-LCHlch(78.10, 72.69, 104.57°)
OKLaboklab(80.49% -0.0581 0.1534)
OKLCHoklch(80.49% 0.164 110.7)
XYZxyz(44.1750, 53.3774, 10.5601)
Luminance0.5338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C82E #312EC8
analogous
#C87E2E #C5C82E #78C82E
triadic
#C5C82E #2EC5C8 #C82EC5
tetradic
#C5C82E #2EC87E #312EC8 #C82E78
square
#C5C82E #2EC87E #312EC8 #C82E78
split-complementary
#C5C82E #2E78C8 #7E2EC8
monochromatic
#636417 #949623 #C5C82E #D7D95A #E3E58C

Accessibility & contrast

On white

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

On black

11.68
#C5C82E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C82E
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C82E#FFFFFF#000000##000000
##C5C82E1.001.8011.6811.68
#FFFFFF1.801.0021.0021.00
#00000011.6821.001.001.00
##00000011.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5c82e;
/* rgb */ color: rgb(197, 200, 46);
/* oklch */ color: oklch(80.5% 0.164 110.7);
Tailwind
colors: {
  custom: {
    50: '#dbd874',
    500: '#c5c82e',
    950: '#000000',
  },
}
SCSS
$custom: #c5c82e;
$custom-light: #dbd874;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c82e",
  "rgb": {
    "r": 197,
    "g": 200,
    "b": 46
  },
  "hsl": {
    "h": 61.169,
    "s": 62.602,
    "l": 48.235
  },
  "oklch": {
    "l": 0.80492,
    "c": 0.16402,
    "h": 110.7
  },
  "luminance": 0.53376
}

Semantic roles & 50–950 ramp

primary
#C5C82E
secondary
#2D2B6F
accent
#42E645
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C5C82E

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

Preview Lab → · Contrast checker → · Palette generator →

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