#C1C831#C1C831

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

Color values

HEX#C1C831
RGBrgb(193, 200, 49)
HSLhsl(63, 61%, 49%)
HSVhsv(63, 76%, 78%)
CMYKcmyk(3.5%, 0%, 75.5%, 21.6%)
CIE-LABlab(77.80, -19.86, 69.04)
CIE-LCHlch(77.80, 71.84, 106.05°)
OKLaboklab(80.18% -0.062 0.1513)
OKLCHoklch(80.18% 0.164 112.3)
XYZxyz(43.2024, 52.8688, 10.8340)
Luminance0.5287 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1C831 #3831C8
analogous
#C88431 #C1C831 #76C831
triadic
#C1C831 #31C1C8 #C831C1
tetradic
#C1C831 #31C884 #3831C8 #C83176
square
#C1C831 #31C884 #3831C8 #C83176
split-complementary
#C1C831 #3176C8 #8431C8
monochromatic
#626619 #929725 #C1C831 #D2D85F #E0E490

Accessibility & contrast

On white

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

On black

11.57
#C1C831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1C831
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1C831#FFFFFF#000000##000000
##C1C8311.001.8111.5711.57
#FFFFFF1.811.0021.0021.00
#00000011.5721.001.001.00
##00000011.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c1c831;
/* rgb */ color: rgb(193, 200, 49);
/* oklch */ color: oklch(80.2% 0.164 112.3);
Tailwind
colors: {
  custom: {
    50: '#d8d875',
    500: '#c1c831',
    950: '#000000',
  },
}
SCSS
$custom: #c1c831;
$custom-light: #d8d875;
$custom-dark: #000000;
JSON
{
  "hex": "#c1c831",
  "rgb": {
    "r": 193,
    "g": 200,
    "b": 49
  },
  "hsl": {
    "h": 62.781,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.80179,
    "c": 0.16351,
    "h": 112.3
  },
  "luminance": 0.52868
}

Semantic roles & 50–950 ramp

primary
#C1C831
secondary
#302D70
accent
#44E44B
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C1C831

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

Preview Lab → · Contrast checker → · Palette generator →

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