#C5C330#C5C330

#C5C330 is a light, vivid yellow. Relative luminance 0.511; OKLCH L 79.4% C 0.158 H 108.7°. Best body text is #000000 at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#C5C330
RGBrgb(197, 195, 48)
HSLhsl(59, 61%, 48%)
HSVhsv(59, 76%, 77%)
CMYKcmyk(0%, 1%, 75.6%, 22.7%)
CIE-LABlab(76.75, -15.72, 68.51)
CIE-LCHlch(76.75, 70.29, 102.92°)
OKLaboklab(79.42% -0.0508 0.1498)
OKLCHoklch(79.42% 0.158 108.7)
XYZxyz(43.0762, 51.1153, 10.3929)
Luminance0.5111 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C330 #3032C5
analogous
#C57930 #C5C330 #7CC530
triadic
#C5C330 #30C5C3 #C330C5
tetradic
#C5C330 #30C579 #3032C5 #C5307C
square
#C5C330 #30C579 #3032C5 #C5307C
split-complementary
#C5C330 #307CC5 #7930C5
monochromatic
#636218 #949224 #C5C330 #D7D55B #E3E28C

Accessibility & contrast

On white

1.87
#C5C330 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.22
#C5C330 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C330
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C330#FFFFFF#000000##000000
##C5C3301.001.8711.2211.22
#FFFFFF1.871.0021.0021.00
#00000011.2221.001.001.00
##00000011.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB09
Deuteranopia (green-blind)
#D5C03C
Tritanopia (blue-blind)
#D3B6A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c5c330;
/* rgb */ color: rgb(197, 195, 48);
/* oklch */ color: oklch(79.4% 0.158 108.7);
Tailwind
colors: {
  custom: {
    50: '#dad474',
    500: '#c5c330',
    950: '#000000',
  },
}
SCSS
$custom: #c5c330;
$custom-light: #dad474;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c330",
  "rgb": {
    "r": 197,
    "g": 195,
    "b": 48
  },
  "hsl": {
    "h": 59.195,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.79417,
    "c": 0.1582,
    "h": 108.7
  },
  "luminance": 0.51114
}

Semantic roles & 50–950 ramp

primary
#C5C330
secondary
#2C2D6D
accent
#46E444
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C5C330

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

Preview Lab → · Contrast checker → · Palette generator →

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