#C5C130#C5C130

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

Color values

HEX#C5C130
RGBrgb(197, 193, 48)
HSLhsl(58, 61%, 48%)
HSVhsv(58, 76%, 77%)
CMYKcmyk(0%, 2%, 75.6%, 22.7%)
CIE-LABlab(76.21, -14.71, 68.01)
CIE-LCHlch(76.21, 69.59, 102.20°)
OKLaboklab(78.99% -0.0479 0.1488)
OKLCHoklch(78.99% 0.156 107.9)
XYZxyz(42.6311, 50.2251, 10.2445)
Luminance0.5022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C130 #3034C5
analogous
#C57630 #C5C130 #7FC530
triadic
#C5C130 #30C5C1 #C130C5
tetradic
#C5C130 #30C576 #3034C5 #C5307F
square
#C5C130 #30C576 #3034C5 #C5307F
split-complementary
#C5C130 #307FC5 #7630C5
monochromatic
#636118 #949124 #C5C130 #D7D45B #E3E18C

Accessibility & contrast

On white

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

On black

11.04
#C5C130 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C130
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C130#FFFFFF#000000##000000
##C5C1301.001.9011.0411.04
#FFFFFF1.901.0021.0021.00
#00000011.0421.001.001.00
##00000011.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5c130;
/* rgb */ color: rgb(197, 193, 48);
/* oklch */ color: oklch(79.0% 0.156 107.9);
Tailwind
colors: {
  custom: {
    50: '#dad374',
    500: '#c5c130',
    950: '#000000',
  },
}
SCSS
$custom: #c5c130;
$custom-light: #dad374;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c130",
  "rgb": {
    "r": 197,
    "g": 193,
    "b": 48
  },
  "hsl": {
    "h": 58.389,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.78985,
    "c": 0.15631,
    "h": 107.9
  },
  "luminance": 0.50224
}

Semantic roles & 50–950 ramp

primary
#C5C130
secondary
#2C2E6D
accent
#48E444
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C5C130

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

Preview Lab → · Contrast checker → · Palette generator →

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