#C2C339#C2C339

#C2C339 is a light, vivid yellow. Relative luminance 0.508; OKLCH L 79.2% C 0.154 H 109.9°. Best body text is #000000 at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#C2C339
RGBrgb(194, 195, 57)
HSLhsl(60, 55%, 49%)
HSVhsv(60, 71%, 76%)
CMYKcmyk(0.5%, 0%, 70.8%, 23.5%)
CIE-LABlab(76.56, -16.59, 65.22)
CIE-LCHlch(76.56, 67.29, 104.27°)
OKLaboklab(79.22% -0.0522 0.1446)
OKLCHoklch(79.22% 0.154 109.9)
XYZxyz(42.5032, 50.7962, 11.4358)
Luminance0.5080 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C339 #3A39C3
analogous
#C37F39 #C2C339 #7DC339
triadic
#C2C339 #39C2C3 #C339C2
tetradic
#C2C339 #39C37F #3A39C3 #C3397D
square
#C2C339 #39C37F #3A39C3 #C3397D
split-complementary
#C2C339 #397DC3 #7F39C3
monochromatic
#64641D #93942B #C2C339 #D2D267 #E0E096

Accessibility & contrast

On white

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

On black

11.16
#C2C339 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C339
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C339#FFFFFF#000000##000000
##C2C3391.001.8811.1611.16
#FFFFFF1.881.0021.0021.00
#00000011.1621.001.001.00
##00000011.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB20
Deuteranopia (green-blind)
#D4BF43
Tritanopia (blue-blind)
#D0B7A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c2c339;
/* rgb */ color: rgb(194, 195, 57);
/* oklch */ color: oklch(79.2% 0.154 109.9);
Tailwind
colors: {
  custom: {
    50: '#d8d479',
    500: '#c2c339',
    950: '#000000',
  },
}
SCSS
$custom: #c2c339;
$custom-light: #d8d479;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c339",
  "rgb": {
    "r": 194,
    "g": 195,
    "b": 57
  },
  "hsl": {
    "h": 60.435,
    "s": 54.762,
    "l": 49.412
  },
  "oklch": {
    "l": 0.79219,
    "c": 0.15372,
    "h": 109.9
  },
  "luminance": 0.50795
}

Semantic roles & 50–950 ramp

primary
#C2C339
secondary
#32316F
accent
#4ADE4B
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#15140A
muted
#84837D

Preview Lab

Preview with #C2C339

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

Preview Lab → · Contrast checker → · Palette generator →

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