#0C751B#0C751B

#0C751B is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.0% C 0.153 H 144.2°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#0C751B
RGBrgb(12, 117, 27)
HSLhsl(129, 81%, 25%)
HSVhsv(129, 90%, 46%)
CMYKcmyk(89.7%, 0%, 76.9%, 54.1%)
CIE-LABlab(42.58, -45.85, 39.48)
CIE-LCHlch(42.58, 60.51, 139.27°)
OKLaboklab(49% -0.1238 0.0894)
OKLCHoklch(49% 0.153 144.2)
XYZxyz(6.7103, 12.8790, 3.1689)
Luminance0.1288 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C751B #750C66
analogous
#32750C #0C751B #0C754F
triadic
#0C751B #1B0C75 #751B0C
tetradic
#0C751B #0C3275 #750C66 #754F0C
square
#0C751B #0C3275 #750C66 #754F0C
split-complementary
#0C751B #4F0C75 #750C32
monochromatic
#031C06 #063D0E #0C751B #12AD28 #17E435

Accessibility & contrast

On white

5.87
#0C751B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#0C751B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #0C751B
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C751B#FFFFFF#000000##FFFFFF
##0C751B1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77690A
Deuteranopia (green-blind)
#6D6225
Tritanopia (blue-blind)
#007264
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #0c751b;
/* rgb */ color: rgb(12, 117, 27);
/* oklch */ color: oklch(49.0% 0.153 144.2);
Tailwind
colors: {
  custom: {
    50: '#649e5e',
    500: '#0c751b',
    950: '#000000',
  },
}
SCSS
$custom: #0c751b;
$custom-light: #649e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c751b",
  "rgb": {
    "r": 12,
    "g": 117,
    "b": 27
  },
  "hsl": {
    "h": 128.571,
    "s": 81.395,
    "l": 25.294
  },
  "oklch": {
    "l": 0.49002,
    "c": 0.15273,
    "h": 144.2
  },
  "luminance": 0.1288
}

Semantic roles & 50–950 ramp

primary
#0C751B
secondary
#AD2F9B
accent
#30DBF8
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #0C751B

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

Preview Lab → · Contrast checker → · Palette generator →

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