#C5C730#C5C730

#C5C730 is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.3% C 0.162 H 110.3°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#C5C730
RGBrgb(197, 199, 48)
HSLhsl(61, 61%, 48%)
HSVhsv(61, 76%, 78%)
CMYKcmyk(1%, 0%, 75.9%, 22%)
CIE-LABlab(77.83, -17.72, 69.50)
CIE-LCHlch(77.83, 71.73, 104.30°)
OKLaboklab(80.29% -0.0563 0.152)
OKLCHoklch(80.29% 0.162 110.3)
XYZxyz(43.9845, 52.9318, 10.6956)
Luminance0.5293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C730 #3230C7
analogous
#C77D30 #C5C730 #79C730
triadic
#C5C730 #30C5C7 #C730C5
tetradic
#C5C730 #30C77D #3230C7 #C73079
square
#C5C730 #30C77D #3230C7 #C73079
split-complementary
#C5C730 #3079C7 #7D30C7
monochromatic
#636418 #949624 #C5C730 #D6D85C #E3E48E

Accessibility & contrast

On white

1.81
#C5C730 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.59
#C5C730 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C730
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C730#FFFFFF#000000##000000
##C5C7301.001.8111.5911.59
#FFFFFF1.811.0021.0021.00
#00000011.5921.001.001.00
##00000011.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE05
Deuteranopia (green-blind)
#D8C23D
Tritanopia (blue-blind)
#D3BAAB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c5c730;
/* rgb */ color: rgb(197, 199, 48);
/* oklch */ color: oklch(80.3% 0.162 110.3);
Tailwind
colors: {
  custom: {
    50: '#dad775',
    500: '#c5c730',
    950: '#000000',
  },
}
SCSS
$custom: #c5c730;
$custom-light: #dad775;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c730",
  "rgb": {
    "r": 197,
    "g": 199,
    "b": 48
  },
  "hsl": {
    "h": 60.795,
    "s": 61.134,
    "l": 48.431
  },
  "oklch": {
    "l": 0.80285,
    "c": 0.16205,
    "h": 110.3
  },
  "luminance": 0.52931
}

Semantic roles & 50–950 ramp

primary
#C5C730
secondary
#2D2C6F
accent
#44E446
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C5C730

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

Preview Lab → · Contrast checker → · Palette generator →

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