#C2C340#C2C340

#C2C340 is a light, vivid yellow. Relative luminance 0.509; OKLCH L 79.3% C 0.149 H 109.8°. Best body text is #000000 at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#C2C340
RGBrgb(194, 195, 64)
HSLhsl(60, 52%, 51%)
HSVhsv(60, 67%, 76%)
CMYKcmyk(0.5%, 0%, 67.2%, 23.5%)
CIE-LABlab(76.60, -16.23, 62.66)
CIE-LCHlch(76.60, 64.73, 104.52°)
OKLaboklab(79.27% -0.0505 0.1404)
OKLCHoklch(79.27% 0.149 109.8)
XYZxyz(42.6901, 50.8709, 12.4198)
Luminance0.5087 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C340 #4140C3
analogous
#C38240 #C2C340 #80C340
triadic
#C2C340 #40C2C3 #C340C2
tetradic
#C2C340 #40C382 #4140C3 #C34080
square
#C2C340 #40C382 #4140C3 #C34080
split-complementary
#C2C340 #4080C3 #8240C3
monochromatic
#676821 #96972F #C2C340 #D1D26F #E0E09D

Accessibility & contrast

On white

1.88
#C2C340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.17
#C2C340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C340
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C340#FFFFFF#000000##000000
##C2C3401.001.8811.1711.17
#FFFFFF1.881.0021.0021.00
#00000011.1721.001.001.00
##00000011.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2c340;
/* rgb */ color: rgb(194, 195, 64);
/* oklch */ color: oklch(79.3% 0.149 109.8);
Tailwind
colors: {
  custom: {
    50: '#d8d47c',
    500: '#c2c340',
    950: '#000000',
  },
}
SCSS
$custom: #c2c340;
$custom-light: #d8d47c;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c340",
  "rgb": {
    "r": 194,
    "g": 195,
    "b": 64
  },
  "hsl": {
    "h": 60.458,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.7927,
    "c": 0.14919,
    "h": 109.8
  },
  "luminance": 0.5087
}

Semantic roles & 50–950 ramp

primary
#C2C340
secondary
#363572
accent
#4CDC4D
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C2C340

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

Preview Lab → · Contrast checker → · Palette generator →

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