#C2C730#C2C730

#C2C730 is a light, vivid yellow. Relative luminance 0.525; OKLCH L 80.0% C 0.163 H 111.5°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#C2C730
RGBrgb(194, 199, 48)
HSLhsl(62, 61%, 48%)
HSVhsv(62, 76%, 78%)
CMYKcmyk(2.5%, 0%, 75.9%, 22%)
CIE-LABlab(77.60, -18.99, 69.20)
CIE-LCHlch(77.60, 71.76, 105.34°)
OKLaboklab(80.04% -0.0597 0.1514)
OKLCHoklch(80.04% 0.163 111.5)
XYZxyz(43.2066, 52.5307, 10.6592)
Luminance0.5253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C730 #3530C7
analogous
#C78030 #C2C730 #76C730
triadic
#C2C730 #30C2C7 #C730C2
tetradic
#C2C730 #30C780 #3530C7 #C73076
square
#C2C730 #30C780 #3530C7 #C73076
split-complementary
#C2C730 #3076C7 #8030C7
monochromatic
#626418 #929624 #C2C730 #D4D85C #E1E48E

Accessibility & contrast

On white

1.83
#C2C730 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.51
#C2C730 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C730
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C730#FFFFFF#000000##000000
##C2C7301.001.8311.5111.51
#FFFFFF1.831.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2c730;
/* rgb */ color: rgb(194, 199, 48);
/* oklch */ color: oklch(80.0% 0.163 111.5);
Tailwind
colors: {
  custom: {
    50: '#d8d775',
    500: '#c2c730',
    950: '#000000',
  },
}
SCSS
$custom: #c2c730;
$custom-light: #d8d775;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c730",
  "rgb": {
    "r": 194,
    "g": 199,
    "b": 48
  },
  "hsl": {
    "h": 61.987,
    "s": 61.134,
    "l": 48.431
  },
  "oklch": {
    "l": 0.80036,
    "c": 0.16276,
    "h": 111.5
  },
  "luminance": 0.5253
}

Semantic roles & 50–950 ramp

primary
#C2C730
secondary
#2F2C6F
accent
#44E449
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C2C730

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

Preview Lab → · Contrast checker → · Palette generator →

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