#0CB522#0CB522

#0CB522 is a light, highly saturated green. Relative luminance 0.332; OKLCH L 67.2% C 0.218 H 143.5°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#0CB522
RGBrgb(12, 181, 34)
HSLhsl(128, 88%, 38%)
HSVhsv(128, 93%, 71%)
CMYKcmyk(93.4%, 0%, 81.2%, 29%)
CIE-LABlab(64.35, -64.85, 58.29)
CIE-LCHlch(64.35, 87.19, 138.05°)
OKLaboklab(67.16% -0.1754 0.1296)
OKLCHoklch(67.16% 0.218 143.5)
XYZxyz(16.9630, 33.2392, 7.0348)
Luminance0.3324 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0CB522 #B50C9F
analogous
#4AB50C #0CB522 #0CB577
triadic
#0CB522 #220CB5 #B5220C
tetradic
#0CB522 #0C4AB5 #B50C9F #B5770C
square
#0CB522 #0C4AB5 #B50C9F #B5770C
split-complementary
#0CB522 #770CB5 #B50C4A
monochromatic
#04420C #087C17 #0CB522 #10EE2D #48F35F

Accessibility & contrast

On white

2.75
#0CB522 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#0CB522 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #0CB522
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0CB522#FFFFFF#000000##000000
##0CB5221.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#A99835
Tritanopia (blue-blind)
#00B09A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #0cb522;
/* rgb */ color: rgb(12, 181, 34);
/* oklch */ color: oklch(67.2% 0.218 143.5);
Tailwind
colors: {
  custom: {
    50: '#76cd6a',
    500: '#0cb522',
    950: '#000000',
  },
}
SCSS
$custom: #0cb522;
$custom-light: #76cd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#0cb522",
  "rgb": {
    "r": 12,
    "g": 181,
    "b": 34
  },
  "hsl": {
    "h": 127.811,
    "s": 87.565,
    "l": 37.843
  },
  "oklch": {
    "l": 0.67163,
    "c": 0.21805,
    "h": 143.5
  },
  "luminance": 0.33241
}

Semantic roles & 50–950 ramp

primary
#0CB522
secondary
#D349C1
accent
#2AE2FE
background
#F8FCF6
surface
#EFF9EC
border
#CAD2C7
text
#0B1407
muted
#7C827A

Preview Lab

Preview with #0CB522

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

Preview Lab → · Contrast checker → · Palette generator →

#0CB522 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva