#127F23#127F23

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

Color values

HEX#127F23
RGBrgb(18, 127, 35)
HSLhsl(129, 75%, 28%)
HSVhsv(129, 86%, 50%)
CMYKcmyk(85.8%, 0%, 72.4%, 50.2%)
CIE-LABlab(46.21, -47.76, 40.02)
CIE-LCHlch(46.21, 62.31, 140.04°)
OKLaboklab(52.07% -0.1289 0.0916)
OKLCHoklch(52.07% 0.158 144.6)
XYZxyz(8.1416, 15.4277, 4.1385)
Luminance0.1543 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127F23 #7F126E
analogous
#377F12 #127F23 #127F59
triadic
#127F23 #23127F #7F2312
tetradic
#127F23 #12377F #7F126E #7F5912
square
#127F23 #12377F #7F126E #7F5912
split-complementary
#127F23 #59127F #7F1237
monochromatic
#041B07 #0A4914 #127F23 #1AB532 #2BE147

Accessibility & contrast

On white

5.14
#127F23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#127F23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127F23
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127F23#FFFFFF#000000##FFFFFF
##127F231.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817215
Deuteranopia (green-blind)
#766A2C
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #127f23;
/* rgb */ color: rgb(18, 127, 35);
/* oklch */ color: oklch(52.1% 0.158 144.6);
Tailwind
colors: {
  custom: {
    50: '#68a563',
    500: '#127f23',
    950: '#000000',
  },
}
SCSS
$custom: #127f23;
$custom-light: #68a563;
$custom-dark: #000000;
JSON
{
  "hex": "#127f23",
  "rgb": {
    "r": 18,
    "g": 127,
    "b": 35
  },
  "hsl": {
    "h": 129.358,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52067,
    "c": 0.15811,
    "h": 144.6
  },
  "luminance": 0.15429
}

Semantic roles & 50–950 ramp

primary
#127F23
secondary
#B538A1
accent
#36D4F2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #127F23

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

Preview Lab → · Contrast checker → · Palette generator →

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