#127B21#127B21

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

Color values

HEX#127B21
RGBrgb(18, 123, 33)
HSLhsl(129, 74%, 28%)
HSVhsv(129, 85%, 48%)
CMYKcmyk(85.4%, 0%, 73.2%, 51.8%)
CIE-LABlab(44.81, -46.63, 39.38)
CIE-LCHlch(44.81, 61.03, 139.82°)
OKLaboklab(50.89% -0.1259 0.09)
OKLCHoklch(50.89% 0.155 144.4)
XYZxyz(7.6064, 14.4034, 3.8178)
Luminance0.1440 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127B21 #7B126C
analogous
#387B12 #127B21 #127B55
triadic
#127B21 #21127B #7B2112
tetradic
#127B21 #12387B #7B126C #7B5512
square
#127B21 #12387B #7B126C #7B5512
split-complementary
#127B21 #55127B #7B1238
monochromatic
#041B07 #0A4613 #127B21 #1AB02F #28E042

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##127B21#FFFFFF#000000##FFFFFF
##127B211.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)
#7D6F13
Deuteranopia (green-blind)
#72672A
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #127b21;
/* rgb */ color: rgb(18, 123, 33);
/* oklch */ color: oklch(50.9% 0.155 144.4);
Tailwind
colors: {
  custom: {
    50: '#67a262',
    500: '#127b21',
    950: '#000000',
  },
}
SCSS
$custom: #127b21;
$custom-light: #67a262;
$custom-dark: #000000;
JSON
{
  "hex": "#127b21",
  "rgb": {
    "r": 18,
    "g": 123,
    "b": 33
  },
  "hsl": {
    "h": 128.571,
    "s": 74.468,
    "l": 27.647
  },
  "oklch": {
    "l": 0.5089,
    "c": 0.15473,
    "h": 144.4
  },
  "luminance": 0.14404
}

Semantic roles & 50–950 ramp

primary
#127B21
secondary
#B138A0
accent
#37D6F1
background
#F6FAF6
surface
#EBF4EB
border
#C6CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #127B21

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

Preview Lab → · Contrast checker → · Palette generator →

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