#127B22#127B22

#127B22 is a mid, vivid green. Relative luminance 0.144; OKLCH L 50.9% C 0.154 H 144.6°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#127B22
RGBrgb(18, 123, 34)
HSLhsl(129, 74%, 28%)
HSVhsv(129, 85%, 48%)
CMYKcmyk(85.4%, 0%, 72.4%, 51.8%)
CIE-LABlab(44.81, -46.53, 38.97)
CIE-LCHlch(44.81, 60.69, 140.05°)
OKLaboklab(50.9% -0.1256 0.0893)
OKLCHoklch(50.9% 0.154 144.6)
XYZxyz(7.6206, 14.4091, 3.8927)
Luminance0.1441 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127B22 #7B126B
analogous
#367B12 #127B22 #127B57
triadic
#127B22 #22127B #7B2212
tetradic
#127B22 #12367B #7B126B #7B5712
square
#127B22 #12367B #7B126B #7B5712
split-complementary
#127B22 #57127B #7B1236
monochromatic
#041B07 #0A4613 #127B22 #1AB031 #28E044

Accessibility & contrast

On white

5.41
#127B22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#127B22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127B22
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127B22#FFFFFF#000000##FFFFFF
##127B221.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F15
Deuteranopia (green-blind)
#72672B
Tritanopia (blue-blind)
#007869
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #127b22;
/* rgb */ color: rgb(18, 123, 34);
/* oklch */ color: oklch(50.9% 0.154 144.6);
Tailwind
colors: {
  custom: {
    50: '#66a262',
    500: '#127b22',
    950: '#000000',
  },
}
SCSS
$custom: #127b22;
$custom-light: #66a262;
$custom-dark: #000000;
JSON
{
  "hex": "#127b22",
  "rgb": {
    "r": 18,
    "g": 123,
    "b": 34
  },
  "hsl": {
    "h": 129.143,
    "s": 74.468,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50899,
    "c": 0.15406,
    "h": 144.6
  },
  "luminance": 0.1441
}

Semantic roles & 50–950 ramp

primary
#127B22
secondary
#B1389F
accent
#37D5F1
background
#F6FAF6
surface
#EBF4EB
border
#C6CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #127B22

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

Preview Lab → · Contrast checker → · Palette generator →

#127B22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva