#C5C844#C5C844

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

Color values

HEX#C5C844
RGBrgb(197, 200, 68)
HSLhsl(61, 55%, 53%)
HSVhsv(61, 66%, 78%)
CMYKcmyk(1.5%, 0%, 66%, 21.6%)
CIE-LABlab(78.23, -17.25, 62.84)
CIE-LCHlch(78.23, 65.16, 105.35°)
OKLaboklab(80.64% -0.0531 0.1413)
OKLCHoklch(80.64% 0.151 110.6)
XYZxyz(44.7250, 53.5974, 13.4571)
Luminance0.5360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C844 #4744C8
analogous
#C88944 #C5C844 #83C844
triadic
#C5C844 #44C5C8 #C844C5
tetradic
#C5C844 #44C889 #4744C8 #C84483
square
#C5C844 #44C889 #4744C8 #C84483
split-complementary
#C5C844 #4483C8 #8944C8
monochromatic
#6F7121 #9DA02F #C5C844 #D4D673 #E2E4A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5C844#FFFFFF#000000##000000
##C5C8441.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)
#D7BF31
Deuteranopia (green-blind)
#D8C34D
Tritanopia (blue-blind)
#D2BCAD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c5c844;
/* rgb */ color: rgb(197, 200, 68);
/* oklch */ color: oklch(80.6% 0.151 110.6);
Tailwind
colors: {
  custom: {
    50: '#dad87f',
    500: '#c5c844',
    950: '#000000',
  },
}
SCSS
$custom: #c5c844;
$custom-light: #dad87f;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c844",
  "rgb": {
    "r": 197,
    "g": 200,
    "b": 68
  },
  "hsl": {
    "h": 61.364,
    "s": 54.545,
    "l": 52.549
  },
  "oklch": {
    "l": 0.80636,
    "c": 0.15096,
    "h": 110.6
  },
  "luminance": 0.53596
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C5C844

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

Preview Lab → · Contrast checker → · Palette generator →

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