#127231#127231

#127231 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.5% C 0.130 H 148.6°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#127231
RGBrgb(18, 114, 49)
HSLhsl(139, 73%, 26%)
HSVhsv(139, 84%, 45%)
CMYKcmyk(84.2%, 0%, 57%, 55.3%)
CIE-LABlab(41.82, -41.45, 28.38)
CIE-LCHlch(41.82, 50.23, 145.60°)
OKLaboklab(48.46% -0.1113 0.068)
OKLCHoklch(48.46% 0.13 148.6)
XYZxyz(6.8206, 12.3841, 4.9360)
Luminance0.1239 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127231 #721253
analogous
#237212 #127231 #127261
triadic
#127231 #311272 #723112
tetradic
#127231 #122372 #721253 #726112
square
#127231 #122372 #721253 #726112
split-complementary
#127231 #611272 #721223
monochromatic
#041A0B #0A3D1A #127231 #1AA748 #23DC5E

Accessibility & contrast

On white

6.04
#127231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#127231 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127231
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127231#FFFFFF#000000##FFFFFF
##1272311.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73672B
Deuteranopia (green-blind)
#696036
Tritanopia (blue-blind)
#007063
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #127231;
/* rgb */ color: rgb(18, 114, 49);
/* oklch */ color: oklch(48.5% 0.130 148.6);
Tailwind
colors: {
  custom: {
    50: '#639b6b',
    500: '#127231',
    950: '#000000',
  },
}
SCSS
$custom: #127231;
$custom-light: #639b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#127231",
  "rgb": {
    "r": 18,
    "g": 114,
    "b": 49
  },
  "hsl": {
    "h": 139.375,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48463,
    "c": 0.13044,
    "h": 148.6
  },
  "luminance": 0.12385
}

Semantic roles & 50–950 ramp

primary
#127231
secondary
#A93784
accent
#38B4EF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E07
muted
#7A7E7A

Preview Lab

Preview with #127231

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

Preview Lab → · Contrast checker → · Palette generator →

#127231 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva