#127C23#127C23

#127C23 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.2% C 0.155 H 144.7°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#127C23
RGBrgb(18, 124, 35)
HSLhsl(130, 75%, 28%)
HSVhsv(130, 85%, 49%)
CMYKcmyk(85.5%, 0%, 71.8%, 51.4%)
CIE-LABlab(45.17, -46.76, 38.92)
CIE-LCHlch(45.17, 60.84, 140.23°)
OKLaboklab(51.2% -0.1262 0.0893)
OKLCHoklch(51.2% 0.155 144.7)
XYZxyz(7.7599, 14.6643, 4.0113)
Luminance0.1467 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127C23 #7C126B
analogous
#367C12 #127C23 #127C58
triadic
#127C23 #23127C #7C2312
tetradic
#127C23 #12367C #7C126B #7C5812
square
#127C23 #12367C #7C126B #7C5812
split-complementary
#127C23 #58127C #7C1236
monochromatic
#041B08 #0A4714 #127C23 #1AB132 #29E046

Accessibility & contrast

On white

5.34
#127C23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#127C23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127C23
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127C23#FFFFFF#000000##FFFFFF
##127C231.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7016
Deuteranopia (green-blind)
#73682C
Tritanopia (blue-blind)
#00796A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #127c23;
/* rgb */ color: rgb(18, 124, 35);
/* oklch */ color: oklch(51.2% 0.155 144.7);
Tailwind
colors: {
  custom: {
    50: '#67a363',
    500: '#127c23',
    950: '#000000',
  },
}
SCSS
$custom: #127c23;
$custom-light: #67a363;
$custom-dark: #000000;
JSON
{
  "hex": "#127c23",
  "rgb": {
    "r": 18,
    "g": 124,
    "b": 35
  },
  "hsl": {
    "h": 129.623,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51199,
    "c": 0.15456,
    "h": 144.7
  },
  "luminance": 0.14665
}

Semantic roles & 50–950 ramp

primary
#127C23
secondary
#B2389E
accent
#37D3F1
background
#F6FAF6
surface
#EBF4EB
border
#C6CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #127C23

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

Preview Lab → · Contrast checker → · Palette generator →

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