#127B29#127B29

#127B29 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.0% C 0.149 H 145.8°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#127B29
RGBrgb(18, 123, 41)
HSLhsl(133, 74%, 28%)
HSVhsv(133, 85%, 48%)
CMYKcmyk(85.4%, 0%, 66.7%, 51.8%)
CIE-LABlab(44.88, -45.75, 35.92)
CIE-LCHlch(44.88, 58.16, 141.87°)
OKLaboklab(50.97% -0.1232 0.0836)
OKLCHoklch(50.97% 0.149 145.8)
XYZxyz(7.7321, 14.4537, 4.4797)
Luminance0.1446 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127B29 #7B1264
analogous
#2F7B12 #127B29 #127B5E
triadic
#127B29 #29127B #7B2912
tetradic
#127B29 #122F7B #7B1264 #7B5E12
square
#127B29 #122F7B #7B1264 #7B5E12
split-complementary
#127B29 #5E127B #7B122F
monochromatic
#041B09 #0A4617 #127B29 #1AB03B #28E050

Accessibility & contrast

On white

5.40
#127B29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#127B29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127B29
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127B29#FFFFFF#000000##FFFFFF
##127B291.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F1F
Deuteranopia (green-blind)
#726730
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #127b29;
/* rgb */ color: rgb(18, 123, 41);
/* oklch */ color: oklch(51.0% 0.149 145.8);
Tailwind
colors: {
  custom: {
    50: '#66a266',
    500: '#127b29',
    950: '#000000',
  },
}
SCSS
$custom: #127b29;
$custom-light: #66a266;
$custom-dark: #000000;
JSON
{
  "hex": "#127b29",
  "rgb": {
    "r": 18,
    "g": 123,
    "b": 41
  },
  "hsl": {
    "h": 133.143,
    "s": 74.468,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50971,
    "c": 0.14888,
    "h": 145.8
  },
  "luminance": 0.14455
}

Semantic roles & 50–950 ramp

primary
#127B29
secondary
#B13896
accent
#37C8F1
background
#F6FAF6
surface
#EBF4EB
border
#C6CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #127B29

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

Preview Lab → · Contrast checker → · Palette generator →

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