#C2C334#C2C334

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

Color values

HEX#C2C334
RGBrgb(194, 195, 52)
HSLhsl(60, 58%, 48%)
HSVhsv(60, 73%, 76%)
CMYKcmyk(0.5%, 0%, 73.3%, 23.5%)
CIE-LABlab(76.53, -16.82, 66.92)
CIE-LCHlch(76.53, 69.00, 104.11°)
OKLaboklab(79.19% -0.0533 0.1473)
OKLCHoklch(79.19% 0.157 109.9)
XYZxyz(42.3846, 50.7487, 10.8109)
Luminance0.5075 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C334 #3534C3
analogous
#C37D34 #C2C334 #7AC334
triadic
#C2C334 #34C2C3 #C334C2
tetradic
#C2C334 #34C37D #3534C3 #C3347A
square
#C2C334 #34C37D #3534C3 #C3347A
split-complementary
#C2C334 #347AC3 #7D34C3
monochromatic
#62621A #929327 #C2C334 #D4D560 #E1E190

Accessibility & contrast

On white

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

On black

11.15
#C2C334 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C334
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C334#FFFFFF#000000##000000
##C2C3341.001.8811.1511.15
#FFFFFF1.881.0021.0021.00
#00000011.1521.001.001.00
##00000011.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2c334;
/* rgb */ color: rgb(194, 195, 52);
/* oklch */ color: oklch(79.2% 0.157 109.9);
Tailwind
colors: {
  custom: {
    50: '#d8d476',
    500: '#c2c334',
    950: '#000000',
  },
}
SCSS
$custom: #c2c334;
$custom-light: #d8d476;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c334",
  "rgb": {
    "r": 194,
    "g": 195,
    "b": 52
  },
  "hsl": {
    "h": 60.42,
    "s": 57.895,
    "l": 48.431
  },
  "oklch": {
    "l": 0.79187,
    "c": 0.15665,
    "h": 109.9
  },
  "luminance": 0.50747
}

Semantic roles & 50–950 ramp

primary
#C2C334
secondary
#2F2E6D
accent
#47E148
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C2C334

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

Preview Lab → · Contrast checker → · Palette generator →

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