#127236#127236

#127236 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.5% C 0.126 H 150.2°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#127236
RGBrgb(18, 114, 54)
HSLhsl(143, 73%, 26%)
HSVhsv(143, 84%, 45%)
CMYKcmyk(84.2%, 0%, 52.6%, 55.3%)
CIE-LABlab(41.89, -40.62, 25.77)
CIE-LCHlch(41.89, 48.11, 147.60°)
OKLaboklab(48.54% -0.109 0.0625)
OKLCHoklch(48.54% 0.126 150.2)
XYZxyz(6.9320, 12.4287, 5.5230)
Luminance0.1243 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127236 #72124E
analogous
#1E7212 #127236 #127266
triadic
#127236 #361272 #723612
tetradic
#127236 #121E72 #72124E #726612
square
#127236 #121E72 #72124E #726612
split-complementary
#127236 #661272 #72121E
monochromatic
#041A0D #0A3D1D #127236 #1AA74F #23DC68

Accessibility & contrast

On white

6.02
#127236 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#127236 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127236
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127236#FFFFFF#000000##FFFFFF
##1272361.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736731
Deuteranopia (green-blind)
#68603A
Tritanopia (blue-blind)
#007064
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #127236;
/* rgb */ color: rgb(18, 114, 54);
/* oklch */ color: oklch(48.5% 0.126 150.2);
Tailwind
colors: {
  custom: {
    50: '#639b6e',
    500: '#127236',
    950: '#000000',
  },
}
SCSS
$custom: #127236;
$custom-light: #639b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#127236",
  "rgb": {
    "r": 18,
    "g": 114,
    "b": 54
  },
  "hsl": {
    "h": 142.5,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48543,
    "c": 0.12569,
    "h": 150.2
  },
  "luminance": 0.1243
}

Semantic roles & 50–950 ramp

primary
#127236
secondary
#A9377E
accent
#38ABEF
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#060E07
muted
#7A7E7A

Preview Lab

Preview with #127236

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

Preview Lab → · Contrast checker → · Palette generator →

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