#C1C12F#C1C12F

#C1C12F is a light, vivid yellow. Relative luminance 0.497; OKLCH L 78.6% C 0.158 H 109.5°. Best body text is #000000 at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#C1C12F
RGBrgb(193, 193, 47)
HSLhsl(60, 61%, 47%)
HSVhsv(60, 76%, 76%)
CMYKcmyk(0%, 0%, 75.6%, 24.3%)
CIE-LABlab(75.87, -16.46, 67.90)
CIE-LCHlch(75.87, 69.87, 103.62°)
OKLaboklab(78.64% -0.0527 0.1485)
OKLCHoklch(78.64% 0.158 109.5)
XYZxyz(41.5769, 49.6839, 10.0886)
Luminance0.4968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1C12F #2F2FC1
analogous
#C1782F #C1C12F #78C12F
triadic
#C1C12F #2FC1C1 #C12FC1
tetradic
#C1C12F #2FC178 #2F2FC1 #C12F78
square
#C1C12F #2FC178 #2F2FC1 #C12F78
split-complementary
#C1C12F #2F78C1 #782FC1
monochromatic
#5F5F17 #909023 #C1C12F #D6D657 #E2E288

Accessibility & contrast

On white

1.92
#C1C12F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.94
#C1C12F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1C12F
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1C12F#FFFFFF#000000##000000
##C1C12F1.001.9210.9410.94
#FFFFFF1.921.0021.0021.00
#00000010.9421.001.001.00
##00000010.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B907
Deuteranopia (green-blind)
#D3BD3B
Tritanopia (blue-blind)
#CFB4A6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c1c12f;
/* rgb */ color: rgb(193, 193, 47);
/* oklch */ color: oklch(78.6% 0.158 109.5);
Tailwind
colors: {
  custom: {
    50: '#d8d374',
    500: '#c1c12f',
    950: '#000000',
  },
}
SCSS
$custom: #c1c12f;
$custom-light: #d8d374;
$custom-dark: #000000;
JSON
{
  "hex": "#c1c12f",
  "rgb": {
    "r": 193,
    "g": 193,
    "b": 47
  },
  "hsl": {
    "h": 60,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.78638,
    "c": 0.15759,
    "h": 109.5
  },
  "luminance": 0.49683
}

Semantic roles & 50–950 ramp

primary
#C1C12F
secondary
#8080CC
accent
#44E444
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #C1C12F

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

Preview Lab → · Contrast checker → · Palette generator →

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