#C5C430#C5C430

#C5C430 is a light, vivid yellow. Relative luminance 0.516; OKLCH L 79.6% C 0.159 H 109.1°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#C5C430
RGBrgb(197, 196, 48)
HSLhsl(60, 61%, 48%)
HSVhsv(60, 76%, 77%)
CMYKcmyk(0%, 0.5%, 75.6%, 22.7%)
CIE-LABlab(77.02, -16.22, 68.76)
CIE-LCHlch(77.02, 70.64, 103.27°)
OKLaboklab(79.63% -0.0521 0.1504)
OKLCHoklch(79.63% 0.159 109.1)
XYZxyz(43.3010, 51.5649, 10.4678)
Luminance0.5156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C430 #3031C5
analogous
#C57930 #C5C430 #7CC530
triadic
#C5C430 #30C5C4 #C430C5
tetradic
#C5C430 #30C579 #3031C5 #C5307C
square
#C5C430 #30C579 #3031C5 #C5307C
split-complementary
#C5C430 #307CC5 #7930C5
monochromatic
#636218 #949324 #C5C430 #D7D65B #E3E28C

Accessibility & contrast

On white

1.86
#C5C430 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.31
#C5C430 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C430
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C430#FFFFFF#000000##000000
##C5C4301.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC08
Deuteranopia (green-blind)
#D6C03C
Tritanopia (blue-blind)
#D3B7A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c5c430;
/* rgb */ color: rgb(197, 196, 48);
/* oklch */ color: oklch(79.6% 0.159 109.1);
Tailwind
colors: {
  custom: {
    50: '#dad574',
    500: '#c5c430',
    950: '#000000',
  },
}
SCSS
$custom: #c5c430;
$custom-light: #dad574;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c430",
  "rgb": {
    "r": 197,
    "g": 196,
    "b": 48
  },
  "hsl": {
    "h": 59.597,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.79634,
    "c": 0.15916,
    "h": 109.1
  },
  "luminance": 0.51564
}

Semantic roles & 50–950 ramp

primary
#C5C430
secondary
#2C2C6D
accent
#45E444
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C5C430

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

Preview Lab → · Contrast checker → · Palette generator →

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