#C5C845#C5C845

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

Color values

HEX#C5C845
RGBrgb(197, 200, 69)
HSLhsl(61, 54%, 53%)
HSVhsv(61, 66%, 78%)
CMYKcmyk(1.5%, 0%, 65.5%, 21.6%)
CIE-LABlab(78.23, -17.19, 62.45)
CIE-LCHlch(78.23, 64.77, 105.39°)
OKLaboklab(80.64% -0.0529 0.1406)
OKLCHoklch(80.64% 0.15 110.6)
XYZxyz(44.7558, 53.6097, 13.6192)
Luminance0.5361 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C845 #4845C8
analogous
#C88945 #C5C845 #83C845
triadic
#C5C845 #45C5C8 #C845C5
tetradic
#C5C845 #45C889 #4845C8 #C84583
square
#C5C845 #45C889 #4845C8 #C84583
split-complementary
#C5C845 #4583C8 #8945C8
monochromatic
#6F7121 #9EA02F #C5C845 #D4D674 #E2E4A3

Accessibility & contrast

On white

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

On black

11.72
#C5C845 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C845
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C845#FFFFFF#000000##000000
##C5C8451.001.7911.7211.72
#FFFFFF1.791.0021.0021.00
#00000011.7221.001.001.00
##00000011.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5c845;
/* rgb */ color: rgb(197, 200, 69);
/* oklch */ color: oklch(80.6% 0.150 110.6);
Tailwind
colors: {
  custom: {
    50: '#dad880',
    500: '#c5c845',
    950: '#000000',
  },
}
SCSS
$custom: #c5c845;
$custom-light: #dad880;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c845",
  "rgb": {
    "r": 197,
    "g": 200,
    "b": 69
  },
  "hsl": {
    "h": 61.374,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.80644,
    "c": 0.15024,
    "h": 110.6
  },
  "luminance": 0.53609
}

Semantic roles & 50–950 ramp

primary
#C5C845
secondary
#38377A
accent
#4ADE4D
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C5C845

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

Preview Lab → · Contrast checker → · Palette generator →

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