#C1C338#C1C338

#C1C338 is a light, vivid yellow. Relative luminance 0.507; OKLCH L 79.1% C 0.155 H 110.3°. Best body text is #000000 at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#C1C338
RGBrgb(193, 195, 56)
HSLhsl(61, 55%, 49%)
HSVhsv(61, 71%, 76%)
CMYKcmyk(1%, 0%, 71.3%, 23.5%)
CIE-LABlab(76.47, -17.06, 65.46)
CIE-LCHlch(76.47, 67.65, 104.61°)
OKLaboklab(79.13% -0.0536 0.1449)
OKLCHoklch(79.13% 0.155 110.3)
XYZxyz(42.2227, 50.6544, 11.2937)
Luminance0.5065 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1C338 #3A38C3
analogous
#C38038 #C1C338 #7CC338
triadic
#C1C338 #38C1C3 #C338C1
tetradic
#C1C338 #38C380 #3A38C3 #C3387C
square
#C1C338 #38C380 #3A38C3 #C3387C
split-complementary
#C1C338 #387CC3 #8038C3
monochromatic
#63641D #92932A #C1C338 #D1D365 #DFE195

Accessibility & contrast

On white

1.89
#C1C338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.13
#C1C338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1C338
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1C338#FFFFFF#000000##000000
##C1C3381.001.8911.1311.13
#FFFFFF1.891.0021.0021.00
#00000011.1321.001.001.00
##00000011.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB1E
Deuteranopia (green-blind)
#D4BF43
Tritanopia (blue-blind)
#CFB7A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c1c338;
/* rgb */ color: rgb(193, 195, 56);
/* oklch */ color: oklch(79.1% 0.155 110.3);
Tailwind
colors: {
  custom: {
    50: '#d7d478',
    500: '#c1c338',
    950: '#000000',
  },
}
SCSS
$custom: #c1c338;
$custom-light: #d7d478;
$custom-dark: #000000;
JSON
{
  "hex": "#c1c338",
  "rgb": {
    "r": 193,
    "g": 195,
    "b": 56
  },
  "hsl": {
    "h": 60.863,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.79129,
    "c": 0.15453,
    "h": 110.3
  },
  "luminance": 0.50653
}

Semantic roles & 50–950 ramp

primary
#C1C338
secondary
#32316E
accent
#49DF4B
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C1C338

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

Preview Lab → · Contrast checker → · Palette generator →

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