#C1C127#C1C127

#C1C127 is a light, vivid yellow. Relative luminance 0.496; OKLCH L 78.6% C 0.161 H 109.6°. Best body text is #000000 at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#C1C127
RGBrgb(193, 193, 39)
HSLhsl(60, 66%, 45%)
HSVhsv(60, 80%, 76%)
CMYKcmyk(0%, 0%, 79.8%, 24.3%)
CIE-LABlab(75.84, -16.75, 70.22)
CIE-LCHlch(75.84, 72.19, 103.42°)
OKLaboklab(78.6% -0.0541 0.152)
OKLCHoklch(78.6% 0.161 109.6)
XYZxyz(41.4301, 49.6252, 9.3153)
Luminance0.4962 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1C127 #2727C1
analogous
#C17427 #C1C127 #74C127
triadic
#C1C127 #27C1C1 #C127C1
tetradic
#C1C127 #27C174 #2727C1 #C12774
square
#C1C127 #27C174 #2727C1 #C12774
split-complementary
#C1C127 #2774C1 #7427C1
monochromatic
#5B5B12 #8E8E1D #C1C127 #DBDB4B #E5E57E

Accessibility & contrast

On white

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

On black

10.92
#C1C127 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1C127
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1C127#FFFFFF#000000##000000
##C1C1271.001.9210.9210.92
#FFFFFF1.921.0021.0021.00
#00000010.9221.001.001.00
##00000010.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B900
Deuteranopia (green-blind)
#D3BD36
Tritanopia (blue-blind)
#CFB4A5
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c1c127;
/* rgb */ color: rgb(193, 193, 39);
/* oklch */ color: oklch(78.6% 0.161 109.6);
Tailwind
colors: {
  custom: {
    50: '#d8d370',
    500: '#c1c127',
    950: '#000000',
  },
}
SCSS
$custom: #c1c127;
$custom-light: #d8d370;
$custom-dark: #000000;
JSON
{
  "hex": "#c1c127",
  "rgb": {
    "r": 193,
    "g": 193,
    "b": 39
  },
  "hsl": {
    "h": 60,
    "s": 66.379,
    "l": 45.49
  },
  "oklch": {
    "l": 0.78598,
    "c": 0.16137,
    "h": 109.6
  },
  "luminance": 0.49624
}

Semantic roles & 50–950 ramp

primary
#C1C127
secondary
#7777CD
accent
#3EE93E
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151408
muted
#83827B

Preview Lab

Preview with #C1C127

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

Preview Lab → · Contrast checker → · Palette generator →

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