#C1C545#C1C545

#C1C545 is a light, vivid yellow. Relative luminance 0.517; OKLCH L 79.7% C 0.148 H 111.1°. Best body text is #000000 at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#C1C545
RGBrgb(193, 197, 69)
HSLhsl(62, 52%, 52%)
HSVhsv(62, 65%, 77%)
CMYKcmyk(2%, 0%, 65%, 22.7%)
CIE-LABlab(77.10, -17.36, 61.18)
CIE-LCHlch(77.10, 63.60, 105.84°)
OKLaboklab(79.66% -0.0531 0.1381)
OKLCHoklch(79.66% 0.148 111.1)
XYZxyz(43.0341, 51.7007, 13.3414)
Luminance0.5170 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1C545 #4945C5
analogous
#C58945 #C1C545 #81C545
triadic
#C1C545 #45C1C5 #C545C1
tetradic
#C1C545 #45C589 #4945C5 #C54581
square
#C1C545 #45C589 #4945C5 #C54581
split-complementary
#C1C545 #4581C5 #8945C5
monochromatic
#6B6D22 #999C31 #C1C545 #D1D474 #E0E2A2

Accessibility & contrast

On white

1.85
#C1C545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.34
#C1C545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1C545
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1C545#FFFFFF#000000##000000
##C1C5451.001.8511.3411.34
#FFFFFF1.851.0021.0021.00
#00000011.3421.001.001.00
##00000011.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD33
Deuteranopia (green-blind)
#D5C04E
Tritanopia (blue-blind)
#CEB9AB
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c1c545;
/* rgb */ color: rgb(193, 197, 69);
/* oklch */ color: oklch(79.7% 0.148 111.1);
Tailwind
colors: {
  custom: {
    50: '#d7d67f',
    500: '#c1c545',
    950: '#000000',
  },
}
SCSS
$custom: #c1c545;
$custom-light: #d7d67f;
$custom-dark: #000000;
JSON
{
  "hex": "#c1c545",
  "rgb": {
    "r": 193,
    "g": 197,
    "b": 69
  },
  "hsl": {
    "h": 61.875,
    "s": 52.459,
    "l": 52.157
  },
  "oklch": {
    "l": 0.79662,
    "c": 0.14794,
    "h": 111.1
  },
  "luminance": 0.517
}

Semantic roles & 50–950 ramp

primary
#C1C545
secondary
#393777
accent
#4CDC50
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C1C545

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

Preview Lab → · Contrast checker → · Palette generator →

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