#C1C538#C1C538

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

Color values

HEX#C1C538
RGBrgb(193, 197, 56)
HSLhsl(62, 56%, 50%)
HSVhsv(62, 72%, 77%)
CMYKcmyk(2%, 0%, 71.6%, 22.7%)
CIE-LABlab(77.01, -18.06, 65.99)
CIE-LCHlch(77.01, 68.41, 105.31°)
OKLaboklab(79.57% -0.0564 0.1461)
OKLCHoklch(79.57% 0.157 111.1)
XYZxyz(42.6738, 51.5566, 11.4441)
Luminance0.5155 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1C538 #3C38C5
analogous
#C58338 #C1C538 #7BC538
triadic
#C1C538 #38C1C5 #C538C1
tetradic
#C1C538 #38C583 #3C38C5 #C5387B
square
#C1C538 #38C583 #3C38C5 #C5387B
split-complementary
#C1C538 #387BC5 #8338C5
monochromatic
#64661D #92952A #C1C538 #D1D467 #DFE196

Accessibility & contrast

On white

1.86
#C1C538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.31
#C1C538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1C538
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1C538#FFFFFF#000000##000000
##C1C5381.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC1E
Deuteranopia (green-blind)
#D5C043
Tritanopia (blue-blind)
#CEB9AA
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c1c538;
/* rgb */ color: rgb(193, 197, 56);
/* oklch */ color: oklch(79.6% 0.157 111.1);
Tailwind
colors: {
  custom: {
    50: '#d7d678',
    500: '#c1c538',
    950: '#000000',
  },
}
SCSS
$custom: #c1c538;
$custom-light: #d7d678;
$custom-dark: #000000;
JSON
{
  "hex": "#c1c538",
  "rgb": {
    "r": 193,
    "g": 197,
    "b": 56
  },
  "hsl": {
    "h": 61.702,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.79565,
    "c": 0.15655,
    "h": 111.1
  },
  "luminance": 0.51555
}

Semantic roles & 50–950 ramp

primary
#C1C538
secondary
#333170
accent
#49DF4D
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#15140A
muted
#84837D

Preview Lab

Preview with #C1C538

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

Preview Lab → · Contrast checker → · Palette generator →

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