#C5C846#C5C846

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

Color values

HEX#C5C846
RGBrgb(197, 200, 70)
HSLhsl(61, 54%, 53%)
HSVhsv(61, 65%, 78%)
CMYKcmyk(1.5%, 0%, 65%, 21.6%)
CIE-LABlab(78.24, -17.13, 62.06)
CIE-LCHlch(78.24, 64.38, 105.43°)
OKLaboklab(80.65% -0.0526 0.14)
OKLCHoklch(80.65% 0.15 110.6)
XYZxyz(44.7871, 53.6222, 13.7840)
Luminance0.5362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C846 #4946C8
analogous
#C88A46 #C5C846 #84C846
triadic
#C5C846 #46C5C8 #C846C5
tetradic
#C5C846 #46C88A #4946C8 #C84684
square
#C5C846 #46C88A #4946C8 #C84684
split-complementary
#C5C846 #4684C8 #8A46C8
monochromatic
#707222 #9EA130 #C5C846 #D4D675 #E3E4A4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5C846#FFFFFF#000000##000000
##C5C8461.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)
#D7C034
Deuteranopia (green-blind)
#D8C34F
Tritanopia (blue-blind)
#D2BCAE
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c5c846;
/* rgb */ color: rgb(197, 200, 70);
/* oklch */ color: oklch(80.7% 0.150 110.6);
Tailwind
colors: {
  custom: {
    50: '#dad880',
    500: '#c5c846',
    950: '#000000',
  },
}
SCSS
$custom: #c5c846;
$custom-light: #dad880;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c846",
  "rgb": {
    "r": 197,
    "g": 200,
    "b": 70
  },
  "hsl": {
    "h": 61.385,
    "s": 54.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.80652,
    "c": 0.14953,
    "h": 110.6
  },
  "luminance": 0.53621
}

Semantic roles & 50–950 ramp

primary
#C5C846
secondary
#39377B
accent
#4ADE4E
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C5C846

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

Preview Lab → · Contrast checker → · Palette generator →

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