#C1C838#C1C838

#C1C838 is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.2% C 0.160 H 112.3°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#C1C838
RGBrgb(193, 200, 56)
HSLhsl(63, 57%, 50%)
HSVhsv(63, 72%, 78%)
CMYKcmyk(3.5%, 0%, 72%, 21.6%)
CIE-LABlab(77.84, -19.55, 66.77)
CIE-LCHlch(77.84, 69.58, 106.32°)
OKLaboklab(80.22% -0.0605 0.1477)
OKLCHoklch(80.22% 0.16 112.3)
XYZxyz(43.3618, 52.9326, 11.6734)
Luminance0.5293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1C838 #3F38C8
analogous
#C88738 #C1C838 #79C838
triadic
#C1C838 #38C1C8 #C838C1
tetradic
#C1C838 #38C887 #3F38C8 #C83879
square
#C1C838 #38C887 #3F38C8 #C83879
split-complementary
#C1C838 #3879C8 #8738C8
monochromatic
#65691D #93992A #C1C838 #D0D568 #DFE398

Accessibility & contrast

On white

1.81
#C1C838 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.59
#C1C838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1C838
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1C838#FFFFFF#000000##000000
##C1C8381.001.8111.5911.59
#FFFFFF1.811.0021.0021.00
#00000011.5921.001.001.00
##00000011.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF1C
Deuteranopia (green-blind)
#D8C243
Tritanopia (blue-blind)
#CEBCAC
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c1c838;
/* rgb */ color: rgb(193, 200, 56);
/* oklch */ color: oklch(80.2% 0.160 112.3);
Tailwind
colors: {
  custom: {
    50: '#d7d879',
    500: '#c1c838',
    950: '#000000',
  },
}
SCSS
$custom: #c1c838;
$custom-light: #d7d879;
$custom-dark: #000000;
JSON
{
  "hex": "#c1c838",
  "rgb": {
    "r": 193,
    "g": 200,
    "b": 56
  },
  "hsl": {
    "h": 62.917,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.80221,
    "c": 0.15964,
    "h": 112.3
  },
  "luminance": 0.52932
}

Semantic roles & 50–950 ramp

primary
#C1C838
secondary
#353273
accent
#48E04F
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C1C838

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

Preview Lab → · Contrast checker → · Palette generator →

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