#C2D134#C2D134

#C2D134 is a very light, vivid yellow. Relative luminance 0.573; OKLCH L 82.3% C 0.171 H 115.1°. Best body text is #000000 at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#C2D134
RGBrgb(194, 209, 52)
HSLhsl(66, 63%, 51%)
HSVhsv(66, 75%, 82%)
CMYKcmyk(7.2%, 0%, 75.1%, 18%)
CIE-LABlab(80.36, -23.72, 70.50)
CIE-LCHlch(80.36, 74.38, 108.59°)
OKLaboklab(82.26% -0.0725 0.1549)
OKLCHoklch(82.26% 0.171 115.1)
XYZxyz(45.6697, 57.3190, 11.9060)
Luminance0.5732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D134 #4334D1
analogous
#D19134 #C2D134 #73D134
triadic
#C2D134 #34C2D1 #D134C2
tetradic
#C2D134 #34D191 #4334D1 #D13473
square
#C2D134 #34D191 #4334D1 #D13473
split-complementary
#C2D134 #3473D1 #9134D1
monochromatic
#69711A #97A325 #C2D134 #D1DC66 #E0E898

Accessibility & contrast

On white

1.68
#C2D134 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.46
#C2D134 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D134
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D134#FFFFFF#000000##000000
##C2D1341.001.6812.4612.46
#FFFFFF1.681.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C60B
Deuteranopia (green-blind)
#DFC942
Tritanopia (blue-blind)
#CFC5B4
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c2d134;
/* rgb */ color: rgb(194, 209, 52);
/* oklch */ color: oklch(82.3% 0.171 115.1);
Tailwind
colors: {
  custom: {
    50: '#d8de78',
    500: '#c2d134',
    950: '#000000',
  },
}
SCSS
$custom: #c2d134;
$custom-light: #d8de78;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d134",
  "rgb": {
    "r": 194,
    "g": 209,
    "b": 52
  },
  "hsl": {
    "h": 65.732,
    "s": 63.052,
    "l": 51.176
  },
  "oklch": {
    "l": 0.82256,
    "c": 0.171,
    "h": 115.1
  },
  "luminance": 0.57318
}

Semantic roles & 50–950 ramp

primary
#C2D134
secondary
#362F7A
accent
#42E651
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C2D134

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

Preview Lab → · Contrast checker → · Palette generator →

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