#C2C140#C2C140

#C2C140 is a light, vivid yellow. Relative luminance 0.500; OKLCH L 78.8% C 0.147 H 108.9°. Best body text is #000000 at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#C2C140
RGBrgb(194, 193, 64)
HSLhsl(60, 52%, 51%)
HSVhsv(60, 67%, 76%)
CMYKcmyk(0%, 0.5%, 67%, 23.9%)
CIE-LABlab(76.06, -15.22, 62.11)
CIE-LCHlch(76.06, 63.95, 103.77°)
OKLaboklab(78.84% -0.0477 0.1392)
OKLCHoklch(78.84% 0.147 108.9)
XYZxyz(42.2450, 49.9807, 12.2714)
Luminance0.4998 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C140 #4041C2
analogous
#C28040 #C2C140 #82C240
triadic
#C2C140 #40C2C1 #C140C2
tetradic
#C2C140 #40C280 #4041C2 #C24082
square
#C2C140 #40C280 #4041C2 #C24082
split-complementary
#C2C140 #4082C2 #8040C2
monochromatic
#676621 #959430 #C2C140 #D1D06E #E0DF9D

Accessibility & contrast

On white

1.91
#C2C140 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.00
#C2C140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C140
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C140#FFFFFF#000000##000000
##C2C1401.001.9111.0011.00
#FFFFFF1.911.0021.0021.00
#00000011.0021.001.001.00
##00000011.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B92D
Deuteranopia (green-blind)
#D2BE49
Tritanopia (blue-blind)
#CFB5A7
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c2c140;
/* rgb */ color: rgb(194, 193, 64);
/* oklch */ color: oklch(78.8% 0.147 108.9);
Tailwind
colors: {
  custom: {
    50: '#d8d37c',
    500: '#c2c140',
    950: '#000000',
  },
}
SCSS
$custom: #c2c140;
$custom-light: #d8d37c;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c140",
  "rgb": {
    "r": 194,
    "g": 193,
    "b": 64
  },
  "hsl": {
    "h": 59.538,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.78836,
    "c": 0.14716,
    "h": 108.9
  },
  "luminance": 0.49979
}

Semantic roles & 50–950 ramp

primary
#C2C140
secondary
#9292CC
accent
#4EDB4D
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #C2C140

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

Preview Lab → · Contrast checker → · Palette generator →

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