#C1C52D#C1C52D

#C1C52D is a light, vivid yellow. Relative luminance 0.515; OKLCH L 79.5% C 0.163 H 111.1°. Best body text is #000000 at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#C1C52D
RGBrgb(193, 197, 45)
HSLhsl(62, 63%, 47%)
HSVhsv(62, 77%, 77%)
CMYKcmyk(2%, 0%, 77.2%, 22.7%)
CIE-LABlab(76.96, -18.53, 69.50)
CIE-LCHlch(76.96, 71.93, 104.93°)
OKLaboklab(79.5% -0.0586 0.1516)
OKLCHoklch(79.5% 0.163 111.1)
XYZxyz(42.4337, 51.4606, 10.1797)
Luminance0.5146 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1C52D #312DC5
analogous
#C57D2D #C1C52D #75C52D
triadic
#C1C52D #2DC1C5 #C52DC1
tetradic
#C1C52D #2DC57D #312DC5 #C52D75
square
#C1C52D #2DC57D #312DC5 #C52D75
split-complementary
#C1C52D #2D75C5 #7D2DC5
monochromatic
#5F6116 #909322 #C1C52D #D5D957 #E2E488

Accessibility & contrast

On white

1.86
#C1C52D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.29
#C1C52D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1C52D
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1C52D#FFFFFF#000000##000000
##C1C52D1.001.8611.2911.29
#FFFFFF1.861.0021.0021.00
#00000011.2921.001.001.00
##00000011.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BC00
Deuteranopia (green-blind)
#D6C03B
Tritanopia (blue-blind)
#CFB8A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c1c52d;
/* rgb */ color: rgb(193, 197, 45);
/* oklch */ color: oklch(79.5% 0.163 111.1);
Tailwind
colors: {
  custom: {
    50: '#d8d673',
    500: '#c1c52d',
    950: '#000000',
  },
}
SCSS
$custom: #c1c52d;
$custom-light: #d8d673;
$custom-dark: #000000;
JSON
{
  "hex": "#c1c52d",
  "rgb": {
    "r": 193,
    "g": 197,
    "b": 45
  },
  "hsl": {
    "h": 61.579,
    "s": 62.81,
    "l": 47.451
  },
  "oklch": {
    "l": 0.795,
    "c": 0.16251,
    "h": 111.1
  },
  "luminance": 0.51459
}

Semantic roles & 50–950 ramp

primary
#C1C52D
secondary
#2C2A6C
accent
#42E646
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C1C52D

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

Preview Lab → · Contrast checker → · Palette generator →

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