#127333#127333

#127333 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.8% C 0.130 H 149.0°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#127333
RGBrgb(18, 115, 51)
HSLhsl(140, 73%, 26%)
HSVhsv(140, 84%, 45%)
CMYKcmyk(84.3%, 0%, 55.7%, 54.9%)
CIE-LABlab(42.20, -41.50, 27.77)
CIE-LCHlch(42.20, 49.93, 146.21°)
OKLaboklab(48.79% -0.1114 0.0668)
OKLCHoklch(48.79% 0.13 149)
XYZxyz(6.9771, 12.6282, 5.2011)
Luminance0.1263 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127333 #731252
analogous
#227312 #127333 #127363
triadic
#127333 #331273 #733312
tetradic
#127333 #122273 #731252 #736312
square
#127333 #122273 #731252 #736312
split-complementary
#127333 #631273 #731222
monochromatic
#041A0C #0A3E1C #127333 #1AA84A #23DD62

Accessibility & contrast

On white

5.96
#127333 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#127333 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127333
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127333#FFFFFF#000000##FFFFFF
##1273331.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74682D
Deuteranopia (green-blind)
#696138
Tritanopia (blue-blind)
#007164
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #127333;
/* rgb */ color: rgb(18, 115, 51);
/* oklch */ color: oklch(48.8% 0.130 149.0);
Tailwind
colors: {
  custom: {
    50: '#639c6c',
    500: '#127333',
    950: '#000000',
  },
}
SCSS
$custom: #127333;
$custom-light: #639c6c;
$custom-dark: #000000;
JSON
{
  "hex": "#127333",
  "rgb": {
    "r": 18,
    "g": 115,
    "b": 51
  },
  "hsl": {
    "h": 140.412,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48785,
    "c": 0.1299,
    "h": 149
  },
  "luminance": 0.12629
}

Semantic roles & 50–950 ramp

primary
#127333
secondary
#AA3783
accent
#38B1F0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E07
muted
#7A7E7A

Preview Lab

Preview with #127333

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

Preview Lab → · Contrast checker → · Palette generator →

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