#C3C71C#C3C71C

#C3C71C is a light, vivid yellow. Relative luminance 0.525; OKLCH L 80.0% C 0.171 H 111.2°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#C3C71C
RGBrgb(195, 199, 28)
HSLhsl(61, 75%, 45%)
HSVhsv(61, 86%, 78%)
CMYKcmyk(2%, 0%, 85.9%, 22%)
CIE-LABlab(77.60, -19.19, 74.37)
CIE-LCHlch(77.60, 76.80, 104.47°)
OKLaboklab(80.03% -0.0617 0.1591)
OKLCHoklch(80.03% 0.171 111.2)
XYZxyz(43.1403, 52.5340, 8.9660)
Luminance0.5253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3C71C #201CC7
analogous
#C7761C #C3C71C #6DC71C
triadic
#C3C71C #1CC3C7 #C71CC3
tetradic
#C3C71C #1CC776 #201CC7 #C71C6D
square
#C3C71C #1CC776 #201CC7 #C71C6D
split-complementary
#C3C71C #1C6DC7 #761CC7
monochromatic
#5A5C0D #8E9114 #C3C71C #E0E43D #E8EB72

Accessibility & contrast

On white

1.83
#C3C71C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.51
#C3C71C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3C71C
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3C71C#FFFFFF#000000##000000
##C3C71C1.001.8311.5111.51
#FFFFFF1.831.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE00
Deuteranopia (green-blind)
#D8C230
Tritanopia (blue-blind)
#D1BAAA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c3c71c;
/* rgb */ color: rgb(195, 199, 28);
/* oklch */ color: oklch(80.0% 0.171 111.2);
Tailwind
colors: {
  custom: {
    50: '#dad76d',
    500: '#c3c71c',
    950: '#000000',
  },
}
SCSS
$custom: #c3c71c;
$custom-light: #dad76d;
$custom-dark: #000000;
JSON
{
  "hex": "#c3c71c",
  "rgb": {
    "r": 195,
    "g": 199,
    "b": 28
  },
  "hsl": {
    "h": 61.404,
    "s": 75.33,
    "l": 44.51
  },
  "oklch": {
    "l": 0.80033,
    "c": 0.17064,
    "h": 111.2
  },
  "luminance": 0.52533
}

Semantic roles & 50–950 ramp

primary
#C3C71C
secondary
#222067
accent
#36F23A
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151408
muted
#84837D

Preview Lab

Preview with #C3C71C

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

Preview Lab → · Contrast checker → · Palette generator →

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