#C2C530#C2C530

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

Color values

HEX#C2C530
RGBrgb(194, 197, 48)
HSLhsl(61, 61%, 48%)
HSVhsv(61, 76%, 77%)
CMYKcmyk(1.5%, 0%, 75.6%, 22.7%)
CIE-LABlab(77.05, -17.99, 68.70)
CIE-LCHlch(77.05, 71.01, 104.68°)
OKLaboklab(79.6% -0.0569 0.1504)
OKLCHoklch(79.6% 0.161 110.7)
XYZxyz(42.7494, 51.6164, 10.5068)
Luminance0.5161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C530 #3330C5
analogous
#C57D30 #C2C530 #77C530
triadic
#C2C530 #30C2C5 #C530C2
tetradic
#C2C530 #30C57D #3330C5 #C53077
square
#C2C530 #30C57D #3330C5 #C53077
split-complementary
#C2C530 #3077C5 #7D30C5
monochromatic
#616318 #929424 #C2C530 #D5D75B #E1E38C

Accessibility & contrast

On white

1.85
#C2C530 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.32
#C2C530 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C530
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C530#FFFFFF#000000##000000
##C2C5301.001.8511.3211.32
#FFFFFF1.851.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BC07
Deuteranopia (green-blind)
#D6C03D
Tritanopia (blue-blind)
#D0B8A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c2c530;
/* rgb */ color: rgb(194, 197, 48);
/* oklch */ color: oklch(79.6% 0.161 110.7);
Tailwind
colors: {
  custom: {
    50: '#d8d674',
    500: '#c2c530',
    950: '#000000',
  },
}
SCSS
$custom: #c2c530;
$custom-light: #d8d674;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c530",
  "rgb": {
    "r": 194,
    "g": 197,
    "b": 48
  },
  "hsl": {
    "h": 61.208,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.79599,
    "c": 0.16077,
    "h": 110.7
  },
  "luminance": 0.51615
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C2C530

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

Preview Lab → · Contrast checker → · Palette generator →

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