#C1C138#C1C138

#C1C138 is a light, vivid yellow. Relative luminance 0.498; OKLCH L 78.7% C 0.153 H 109.4°. Best body text is #000000 at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#C1C138
RGBrgb(193, 193, 56)
HSLhsl(60, 55%, 49%)
HSVhsv(60, 71%, 76%)
CMYKcmyk(0%, 0%, 71%, 24.3%)
CIE-LABlab(75.92, -16.06, 64.93)
CIE-LCHlch(75.92, 66.89, 103.89°)
OKLaboklab(78.69% -0.0508 0.1438)
OKLCHoklch(78.69% 0.153 109.4)
XYZxyz(41.7776, 49.7641, 11.1454)
Luminance0.4976 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1C138 #3838C1
analogous
#C17D38 #C1C138 #7DC138
triadic
#C1C138 #38C1C1 #C138C1
tetradic
#C1C138 #38C17D #3838C1 #C1387D
square
#C1C138 #38C17D #3838C1 #C1387D
split-complementary
#C1C138 #387DC1 #7D38C1
monochromatic
#62621C #92922A #C1C138 #D2D264 #E0E094

Accessibility & contrast

On white

1.92
#C1C138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.95
#C1C138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1C138
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1C138#FFFFFF#000000##000000
##C1C1381.001.9210.9510.95
#FFFFFF1.921.0021.0021.00
#00000010.9521.001.001.00
##00000010.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c1c138;
/* rgb */ color: rgb(193, 193, 56);
/* oklch */ color: oklch(78.7% 0.153 109.4);
Tailwind
colors: {
  custom: {
    50: '#d7d378',
    500: '#c1c138',
    950: '#000000',
  },
}
SCSS
$custom: #c1c138;
$custom-light: #d7d378;
$custom-dark: #000000;
JSON
{
  "hex": "#c1c138",
  "rgb": {
    "r": 193,
    "g": 193,
    "b": 56
  },
  "hsl": {
    "h": 60,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.78693,
    "c": 0.15253,
    "h": 109.4
  },
  "luminance": 0.49763
}

Semantic roles & 50–950 ramp

primary
#C1C138
secondary
#8A8ACB
accent
#49DE49
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#151409
muted
#83827B

Preview Lab

Preview with #C1C138

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

Preview Lab → · Contrast checker → · Palette generator →

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