#C3C040#C3C040

#C3C040 is a light, vivid yellow. Relative luminance 0.497; OKLCH L 78.7% C 0.146 H 108.0°. Best body text is #000000 at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#C3C040
RGBrgb(195, 192, 64)
HSLhsl(59, 52%, 51%)
HSVhsv(59, 67%, 76%)
CMYKcmyk(0%, 1.5%, 67.2%, 23.5%)
CIE-LABlab(75.87, -14.29, 61.95)
CIE-LCHlch(75.87, 63.58, 102.99°)
OKLaboklab(78.71% -0.0451 0.1388)
OKLCHoklch(78.71% 0.146 108)
XYZxyz(42.2822, 49.6729, 12.2100)
Luminance0.4967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3C040 #4043C3
analogous
#C37E40 #C3C040 #84C340
triadic
#C3C040 #40C3C0 #C040C3
tetradic
#C3C040 #40C37E #4043C3 #C34084
square
#C3C040 #40C37E #4043C3 #C34084
split-complementary
#C3C040 #4084C3 #7E40C3
monochromatic
#686621 #97942F #C3C040 #D2CF6F #E0DF9D

Accessibility & contrast

On white

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

On black

10.93
#C3C040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3C040
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3C040#FFFFFF#000000##000000
##C3C0401.001.9210.9310.93
#FFFFFF1.921.0021.0021.00
#00000010.9321.001.001.00
##00000010.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B82D
Deuteranopia (green-blind)
#D2BD49
Tritanopia (blue-blind)
#D1B4A6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c3c040;
/* rgb */ color: rgb(195, 192, 64);
/* oklch */ color: oklch(78.7% 0.146 108.0);
Tailwind
colors: {
  custom: {
    50: '#d8d27c',
    500: '#c3c040',
    950: '#000000',
  },
}
SCSS
$custom: #c3c040;
$custom-light: #d8d27c;
$custom-dark: #000000;
JSON
{
  "hex": "#c3c040",
  "rgb": {
    "r": 195,
    "g": 192,
    "b": 64
  },
  "hsl": {
    "h": 58.626,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.78705,
    "c": 0.14598,
    "h": 108
  },
  "luminance": 0.49672
}

Semantic roles & 50–950 ramp

primary
#C3C040
secondary
#9294CC
accent
#4FDC4C
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #C3C040

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

Preview Lab → · Contrast checker → · Palette generator →

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