#C2C138#C2C138

#C2C138 is a light, vivid yellow. Relative luminance 0.499; OKLCH L 78.8% C 0.152 H 109.0°. Best body text is #000000 at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#C2C138
RGBrgb(194, 193, 56)
HSLhsl(60, 55%, 49%)
HSVhsv(60, 71%, 76%)
CMYKcmyk(0%, 0.5%, 71.1%, 23.9%)
CIE-LABlab(76.01, -15.64, 65.04)
CIE-LCHlch(76.01, 66.89, 103.52°)
OKLaboklab(78.78% -0.0496 0.144)
OKLCHoklch(78.78% 0.152 109)
XYZxyz(42.0334, 49.8961, 11.1573)
Luminance0.4990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C138 #3839C2
analogous
#C27C38 #C2C138 #7EC238
triadic
#C2C138 #38C2C1 #C138C2
tetradic
#C2C138 #38C27C #3839C2 #C2387E
square
#C2C138 #38C27C #3839C2 #C2387E
split-complementary
#C2C138 #387EC2 #7C38C2
monochromatic
#63631D #93922A #C2C138 #D2D265 #E0E094

Accessibility & contrast

On white

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

On black

10.98
#C2C138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C138
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C138#FFFFFF#000000##000000
##C2C1381.001.9110.9810.98
#FFFFFF1.911.0021.0021.00
#00000010.9821.001.001.00
##00000010.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B91F
Deuteranopia (green-blind)
#D3BD42
Tritanopia (blue-blind)
#D0B5A6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c2c138;
/* rgb */ color: rgb(194, 193, 56);
/* oklch */ color: oklch(78.8% 0.152 109.0);
Tailwind
colors: {
  custom: {
    50: '#d8d378',
    500: '#c2c138',
    950: '#000000',
  },
}
SCSS
$custom: #c2c138;
$custom-light: #d8d378;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c138",
  "rgb": {
    "r": 194,
    "g": 193,
    "b": 56
  },
  "hsl": {
    "h": 59.565,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.78778,
    "c": 0.15234,
    "h": 109
  },
  "luminance": 0.49895
}

Semantic roles & 50–950 ramp

primary
#C2C138
secondary
#8A8BCB
accent
#4ADF49
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#151409
muted
#83827B

Preview Lab

Preview with #C2C138

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

Preview Lab → · Contrast checker → · Palette generator →

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