#C2C930#C2C930

#C2C930 is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.5% C 0.165 H 112.3°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#C2C930
RGBrgb(194, 201, 48)
HSLhsl(63, 61%, 49%)
HSVhsv(63, 76%, 79%)
CMYKcmyk(3.5%, 0%, 76.1%, 21.2%)
CIE-LABlab(78.14, -19.97, 69.70)
CIE-LCHlch(78.14, 72.50, 105.99°)
OKLaboklab(80.47% -0.0624 0.1525)
OKLCHoklch(80.47% 0.165 112.3)
XYZxyz(43.6697, 53.4571, 10.8136)
Luminance0.5346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C930 #3730C9
analogous
#C98430 #C2C930 #76C930
triadic
#C2C930 #30C2C9 #C930C2
tetradic
#C2C930 #30C984 #3730C9 #C93076
square
#C2C930 #30C984 #3730C9 #C93076
split-complementary
#C2C930 #3076C9 #8430C9
monochromatic
#636618 #929824 #C2C930 #D3D85E #E0E48F

Accessibility & contrast

On white

1.80
#C2C930 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.69
#C2C930 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C930
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C930#FFFFFF#000000##000000
##C2C9301.001.8011.6911.69
#FFFFFF1.801.0021.0021.00
#00000011.6921.001.001.00
##00000011.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9BF03
Deuteranopia (green-blind)
#D9C33D
Tritanopia (blue-blind)
#CFBCAD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c2c930;
/* rgb */ color: rgb(194, 201, 48);
/* oklch */ color: oklch(80.5% 0.165 112.3);
Tailwind
colors: {
  custom: {
    50: '#d8d975',
    500: '#c2c930',
    950: '#000000',
  },
}
SCSS
$custom: #c2c930;
$custom-light: #d8d975;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c930",
  "rgb": {
    "r": 194,
    "g": 201,
    "b": 48
  },
  "hsl": {
    "h": 62.745,
    "s": 61.446,
    "l": 48.824
  },
  "oklch": {
    "l": 0.80474,
    "c": 0.16477,
    "h": 112.3
  },
  "luminance": 0.53456
}

Semantic roles & 50–950 ramp

primary
#C2C930
secondary
#302D70
accent
#43E54B
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C2C930

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

Preview Lab → · Contrast checker → · Palette generator →

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