#C3C340#C3C340

#C3C340 is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.4% C 0.149 H 109.4°. Best body text is #000000 at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#C3C340
RGBrgb(195, 195, 64)
HSLhsl(60, 52%, 51%)
HSVhsv(60, 67%, 76%)
CMYKcmyk(0%, 0%, 67.2%, 23.5%)
CIE-LABlab(76.68, -15.81, 62.77)
CIE-LCHlch(76.68, 64.73, 104.13°)
OKLaboklab(79.35% -0.0494 0.1406)
OKLCHoklch(79.35% 0.149 109.4)
XYZxyz(42.9477, 51.0037, 12.4319)
Luminance0.5100 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3C340 #4040C3
analogous
#C38140 #C3C340 #81C340
triadic
#C3C340 #40C3C3 #C340C3
tetradic
#C3C340 #40C381 #4040C3 #C34081
square
#C3C340 #40C381 #4040C3 #C34081
split-complementary
#C3C340 #4081C3 #8140C3
monochromatic
#686821 #97972F #C3C340 #D2D26F #E0E09D

Accessibility & contrast

On white

1.87
#C3C340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.20
#C3C340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3C340
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3C340#FFFFFF#000000##000000
##C3C3401.001.8711.2011.20
#FFFFFF1.871.0021.0021.00
#00000011.2021.001.001.00
##00000011.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB2C
Deuteranopia (green-blind)
#D4BF49
Tritanopia (blue-blind)
#D0B7A9
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c3c340;
/* rgb */ color: rgb(195, 195, 64);
/* oklch */ color: oklch(79.4% 0.149 109.4);
Tailwind
colors: {
  custom: {
    50: '#d8d47c',
    500: '#c3c340',
    950: '#000000',
  },
}
SCSS
$custom: #c3c340;
$custom-light: #d8d47c;
$custom-dark: #000000;
JSON
{
  "hex": "#c3c340",
  "rgb": {
    "r": 195,
    "g": 195,
    "b": 64
  },
  "hsl": {
    "h": 60,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.79354,
    "c": 0.14899,
    "h": 109.4
  },
  "luminance": 0.51002
}

Semantic roles & 50–950 ramp

primary
#C3C340
secondary
#353572
accent
#4CDC4C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C3C340

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

Preview Lab → · Contrast checker → · Palette generator →

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