#C5C131#C5C131

#C5C131 is a light, vivid yellow. Relative luminance 0.502; OKLCH L 79.0% C 0.156 H 107.8°. Best body text is #000000 at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#C5C131
RGBrgb(197, 193, 49)
HSLhsl(58, 60%, 48%)
HSVhsv(58, 75%, 77%)
CMYKcmyk(0%, 2%, 75.1%, 22.7%)
CIE-LABlab(76.21, -14.67, 67.70)
CIE-LCHlch(76.21, 69.27, 102.23°)
OKLaboklab(78.99% -0.0477 0.1483)
OKLCHoklch(78.99% 0.156 107.8)
XYZxyz(42.6520, 50.2334, 10.3544)
Luminance0.5023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C131 #3135C5
analogous
#C57731 #C5C131 #7FC531
triadic
#C5C131 #31C5C1 #C131C5
tetradic
#C5C131 #31C577 #3135C5 #C5317F
square
#C5C131 #31C577 #3135C5 #C5317F
split-complementary
#C5C131 #317FC5 #7731C5
monochromatic
#636119 #949125 #C5C131 #D7D35D #E3E08E

Accessibility & contrast

On white

1.90
#C5C131 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.05
#C5C131 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C131
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C131#FFFFFF#000000##000000
##C5C1311.001.9011.0511.05
#FFFFFF1.901.0021.0021.00
#00000011.0521.001.001.00
##00000011.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B90E
Deuteranopia (green-blind)
#D4BE3D
Tritanopia (blue-blind)
#D3B4A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c5c131;
/* rgb */ color: rgb(197, 193, 49);
/* oklch */ color: oklch(79.0% 0.156 107.8);
Tailwind
colors: {
  custom: {
    50: '#dad375',
    500: '#c5c131',
    950: '#000000',
  },
}
SCSS
$custom: #c5c131;
$custom-light: #dad375;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c131",
  "rgb": {
    "r": 197,
    "g": 193,
    "b": 49
  },
  "hsl": {
    "h": 58.378,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.7899,
    "c": 0.15579,
    "h": 107.8
  },
  "luminance": 0.50232
}

Semantic roles & 50–950 ramp

primary
#C5C131
secondary
#2D2E6E
accent
#49E344
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C5C131

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

Preview Lab → · Contrast checker → · Palette generator →

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