#C1C731#C1C731

#C1C731 is a light, vivid yellow. Relative luminance 0.524; OKLCH L 80.0% C 0.162 H 111.9°. Best body text is #000000 at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#C1C731
RGBrgb(193, 199, 49)
HSLhsl(62, 60%, 49%)
HSVhsv(62, 75%, 78%)
CMYKcmyk(3%, 0%, 75.4%, 22%)
CIE-LABlab(77.52, -19.37, 68.79)
CIE-LCHlch(77.52, 71.46, 105.72°)
OKLaboklab(79.96% -0.0606 0.1508)
OKLCHoklch(79.96% 0.162 111.9)
XYZxyz(42.9716, 52.4071, 10.7571)
Luminance0.5241 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1C731 #3731C7
analogous
#C78231 #C1C731 #76C731
triadic
#C1C731 #31C1C7 #C731C1
tetradic
#C1C731 #31C782 #3731C7 #C73176
square
#C1C731 #31C782 #3731C7 #C73176
split-complementary
#C1C731 #3176C7 #8231C7
monochromatic
#626519 #919625 #C1C731 #D2D75E #E0E38F

Accessibility & contrast

On white

1.83
#C1C731 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.48
#C1C731 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1C731
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1C731#FFFFFF#000000##000000
##C1C7311.001.8311.4811.48
#FFFFFF1.831.0021.0021.00
#00000011.4821.001.001.00
##00000011.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE09
Deuteranopia (green-blind)
#D7C13E
Tritanopia (blue-blind)
#CEBBAB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c1c731;
/* rgb */ color: rgb(193, 199, 49);
/* oklch */ color: oklch(80.0% 0.162 111.9);
Tailwind
colors: {
  custom: {
    50: '#d8d775',
    500: '#c1c731',
    950: '#000000',
  },
}
SCSS
$custom: #c1c731;
$custom-light: #d8d775;
$custom-dark: #000000;
JSON
{
  "hex": "#c1c731",
  "rgb": {
    "r": 193,
    "g": 199,
    "b": 49
  },
  "hsl": {
    "h": 62.4,
    "s": 60.484,
    "l": 48.627
  },
  "oklch": {
    "l": 0.7996,
    "c": 0.16249,
    "h": 111.9
  },
  "luminance": 0.52406
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C1C731

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

Preview Lab → · Contrast checker → · Palette generator →

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