#C4C730#C4C730

#C4C730 is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.2% C 0.162 H 110.7°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#C4C730
RGBrgb(196, 199, 48)
HSLhsl(61, 61%, 48%)
HSVhsv(61, 76%, 78%)
CMYKcmyk(1.5%, 0%, 75.9%, 22%)
CIE-LABlab(77.76, -18.14, 69.40)
CIE-LCHlch(77.76, 71.73, 104.65°)
OKLaboklab(80.2% -0.0574 0.1518)
OKLCHoklch(80.2% 0.162 110.7)
XYZxyz(43.7234, 52.7972, 10.6834)
Luminance0.5280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C730 #3330C7
analogous
#C77E30 #C4C730 #78C730
triadic
#C4C730 #30C4C7 #C730C4
tetradic
#C4C730 #30C77E #3330C7 #C73078
square
#C4C730 #30C77E #3330C7 #C73078
split-complementary
#C4C730 #3078C7 #7E30C7
monochromatic
#636418 #939624 #C4C730 #D5D85C #E2E48E

Accessibility & contrast

On white

1.82
#C4C730 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.56
#C4C730 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C730
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C730#FFFFFF#000000##000000
##C4C7301.001.8211.5611.56
#FFFFFF1.821.0021.0021.00
#00000011.5621.001.001.00
##00000011.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c4c730;
/* rgb */ color: rgb(196, 199, 48);
/* oklch */ color: oklch(80.2% 0.162 110.7);
Tailwind
colors: {
  custom: {
    50: '#dad775',
    500: '#c4c730',
    950: '#000000',
  },
}
SCSS
$custom: #c4c730;
$custom-light: #dad775;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c730",
  "rgb": {
    "r": 196,
    "g": 199,
    "b": 48
  },
  "hsl": {
    "h": 61.192,
    "s": 61.134,
    "l": 48.431
  },
  "oklch": {
    "l": 0.80202,
    "c": 0.16228,
    "h": 110.7
  },
  "luminance": 0.52796
}

Semantic roles & 50–950 ramp

primary
#C4C730
secondary
#2E2C6F
accent
#44E447
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C4C730

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

Preview Lab → · Contrast checker → · Palette generator →

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