#127B23#127B23

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

Color values

HEX#127B23
RGBrgb(18, 123, 35)
HSLhsl(130, 74%, 28%)
HSVhsv(130, 85%, 48%)
CMYKcmyk(85.4%, 0%, 71.5%, 51.8%)
CIE-LABlab(44.82, -46.42, 38.55)
CIE-LCHlch(44.82, 60.34, 140.30°)
OKLaboklab(50.91% -0.1252 0.0885)
OKLCHoklch(50.91% 0.153 144.8)
XYZxyz(7.6352, 14.4149, 3.9697)
Luminance0.1442 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127B23 #7B126A
analogous
#367B12 #127B23 #127B57
triadic
#127B23 #23127B #7B2312
tetradic
#127B23 #12367B #7B126A #7B5712
square
#127B23 #12367B #7B126A #7B5712
split-complementary
#127B23 #57127B #7B1236
monochromatic
#041B08 #0A4614 #127B23 #1AB032 #28E046

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##127B23#FFFFFF#000000##FFFFFF
##127B231.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)
#7D6F16
Deuteranopia (green-blind)
#72672C
Tritanopia (blue-blind)
#007869
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #127b23;
/* rgb */ color: rgb(18, 123, 35);
/* oklch */ color: oklch(50.9% 0.153 144.8);
Tailwind
colors: {
  custom: {
    50: '#66a263',
    500: '#127b23',
    950: '#000000',
  },
}
SCSS
$custom: #127b23;
$custom-light: #66a263;
$custom-dark: #000000;
JSON
{
  "hex": "#127b23",
  "rgb": {
    "r": 18,
    "g": 123,
    "b": 35
  },
  "hsl": {
    "h": 129.714,
    "s": 74.468,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50909,
    "c": 0.15336,
    "h": 144.8
  },
  "luminance": 0.14416
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #127B23

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

Preview Lab → · Contrast checker → · Palette generator →

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