#C2C734#C2C734

#C2C734 is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.1% C 0.161 H 111.5°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#C2C734
RGBrgb(194, 199, 52)
HSLhsl(62, 59%, 49%)
HSVhsv(62, 74%, 78%)
CMYKcmyk(2.5%, 0%, 73.9%, 22%)
CIE-LABlab(77.62, -18.82, 67.94)
CIE-LCHlch(77.62, 70.50, 105.48°)
OKLaboklab(80.06% -0.0589 0.1495)
OKLCHoklch(80.06% 0.161 111.5)
XYZxyz(43.2929, 52.5652, 11.1137)
Luminance0.5256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C734 #3934C7
analogous
#C78334 #C2C734 #79C734
triadic
#C2C734 #34C2C7 #C734C2
tetradic
#C2C734 #34C783 #3934C7 #C73479
square
#C2C734 #34C783 #3934C7 #C73479
split-complementary
#C2C734 #3479C7 #8334C7
monochromatic
#63661B #939627 #C2C734 #D2D662 #E0E393

Accessibility & contrast

On white

1.82
#C2C734 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.51
#C2C734 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C734
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C734#FFFFFF#000000##000000
##C2C7341.001.8211.5111.51
#FFFFFF1.821.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE13
Deuteranopia (green-blind)
#D7C240
Tritanopia (blue-blind)
#D0BBAB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c2c734;
/* rgb */ color: rgb(194, 199, 52);
/* oklch */ color: oklch(80.1% 0.161 111.5);
Tailwind
colors: {
  custom: {
    50: '#d8d777',
    500: '#c2c734',
    950: '#000000',
  },
}
SCSS
$custom: #c2c734;
$custom-light: #d8d777;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c734",
  "rgb": {
    "r": 194,
    "g": 199,
    "b": 52
  },
  "hsl": {
    "h": 62.041,
    "s": 58.566,
    "l": 49.216
  },
  "oklch": {
    "l": 0.80059,
    "c": 0.16065,
    "h": 111.5
  },
  "luminance": 0.52564
}

Semantic roles & 50–950 ramp

primary
#C2C734
secondary
#312F70
accent
#46E24B
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C2C734

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

Preview Lab → · Contrast checker → · Palette generator →

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