#C5C030#C5C030

#C5C030 is a light, vivid yellow. Relative luminance 0.498; OKLCH L 78.8% C 0.155 H 107.4°. Best body text is #000000 at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#C5C030
RGBrgb(197, 192, 48)
HSLhsl(58, 61%, 48%)
HSVhsv(58, 76%, 77%)
CMYKcmyk(0%, 2.5%, 75.6%, 22.7%)
CIE-LABlab(75.94, -14.20, 67.76)
CIE-LCHlch(75.94, 69.24, 101.84°)
OKLaboklab(78.77% -0.0465 0.1483)
OKLCHoklch(78.77% 0.155 107.4)
XYZxyz(42.4108, 49.7845, 10.1711)
Luminance0.4978 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C030 #3035C5
analogous
#C57630 #C5C030 #7FC530
triadic
#C5C030 #30C5C0 #C030C5
tetradic
#C5C030 #30C576 #3035C5 #C5307F
square
#C5C030 #30C576 #3035C5 #C5307F
split-complementary
#C5C030 #307FC5 #7630C5
monochromatic
#636018 #949024 #C5C030 #D7D35B #E3E08C

Accessibility & contrast

On white

1.92
#C5C030 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.96
#C5C030 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C030
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C030#FFFFFF#000000##000000
##C5C0301.001.9210.9610.96
#FFFFFF1.921.0021.0021.00
#00000010.9621.001.001.00
##00000010.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B80C
Deuteranopia (green-blind)
#D3BE3C
Tritanopia (blue-blind)
#D4B3A5
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c5c030;
/* rgb */ color: rgb(197, 192, 48);
/* oklch */ color: oklch(78.8% 0.155 107.4);
Tailwind
colors: {
  custom: {
    50: '#dad274',
    500: '#c5c030',
    950: '#000000',
  },
}
SCSS
$custom: #c5c030;
$custom-light: #dad274;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c030",
  "rgb": {
    "r": 197,
    "g": 192,
    "b": 48
  },
  "hsl": {
    "h": 57.987,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.78769,
    "c": 0.15538,
    "h": 107.4
  },
  "luminance": 0.49783
}

Semantic roles & 50–950 ramp

primary
#C5C030
secondary
#8486CD
accent
#49E444
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #C5C030

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

Preview Lab → · Contrast checker → · Palette generator →

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