#127230#127230

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

Color values

HEX#127230
RGBrgb(18, 114, 48)
HSLhsl(139, 73%, 26%)
HSVhsv(139, 84%, 45%)
CMYKcmyk(84.2%, 0%, 57.9%, 55.3%)
CIE-LABlab(41.81, -41.60, 28.89)
CIE-LCHlch(41.81, 50.65, 145.23°)
OKLaboklab(48.45% -0.1117 0.0691)
OKLCHoklch(48.45% 0.131 148.3)
XYZxyz(6.7997, 12.3758, 4.8261)
Luminance0.1238 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127230 #721254
analogous
#247212 #127230 #127260
triadic
#127230 #301272 #723012
tetradic
#127230 #122472 #721254 #726012
square
#127230 #122472 #721254 #726012
split-complementary
#127230 #601272 #721224
monochromatic
#041A0B #0A3D1A #127230 #1AA746 #23DC5D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##127230#FFFFFF#000000##FFFFFF
##1272301.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)
#73672A
Deuteranopia (green-blind)
#696035
Tritanopia (blue-blind)
#007063
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #127230;
/* rgb */ color: rgb(18, 114, 48);
/* oklch */ color: oklch(48.4% 0.131 148.3);
Tailwind
colors: {
  custom: {
    50: '#639b6a',
    500: '#127230',
    950: '#000000',
  },
}
SCSS
$custom: #127230;
$custom-light: #639b6a;
$custom-dark: #000000;
JSON
{
  "hex": "#127230",
  "rgb": {
    "r": 18,
    "g": 114,
    "b": 48
  },
  "hsl": {
    "h": 138.75,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48448,
    "c": 0.13136,
    "h": 148.3
  },
  "luminance": 0.12377
}

Semantic roles & 50–950 ramp

primary
#127230
secondary
#A93785
accent
#38B6EF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #127230

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

Preview Lab → · Contrast checker → · Palette generator →

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