#127238#127238

#127238 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.6% C 0.124 H 150.9°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#127238
RGBrgb(18, 114, 56)
HSLhsl(144, 73%, 26%)
HSVhsv(144, 84%, 45%)
CMYKcmyk(84.2%, 0%, 50.9%, 55.3%)
CIE-LABlab(41.92, -40.27, 24.72)
CIE-LCHlch(41.92, 47.25, 148.46°)
OKLaboklab(48.58% -0.1081 0.0602)
OKLCHoklch(48.58% 0.124 150.9)
XYZxyz(6.9800, 12.4479, 5.7754)
Luminance0.1245 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127238 #72124C
analogous
#1C7212 #127238 #127268
triadic
#127238 #381272 #723812
tetradic
#127238 #121C72 #72124C #726812
square
#127238 #121C72 #72124C #726812
split-complementary
#127238 #681272 #72121C
monochromatic
#041A0D #0A3D1E #127238 #1AA752 #23DC6C

Accessibility & contrast

On white

6.02
#127238 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#127238 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127238
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127238#FFFFFF#000000##FFFFFF
##1272381.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736733
Deuteranopia (green-blind)
#68603C
Tritanopia (blue-blind)
#007064
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #127238;
/* rgb */ color: rgb(18, 114, 56);
/* oklch */ color: oklch(48.6% 0.124 150.9);
Tailwind
colors: {
  custom: {
    50: '#639b70',
    500: '#127238',
    950: '#000000',
  },
}
SCSS
$custom: #127238;
$custom-light: #639b70;
$custom-dark: #000000;
JSON
{
  "hex": "#127238",
  "rgb": {
    "r": 18,
    "g": 114,
    "b": 56
  },
  "hsl": {
    "h": 143.75,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48577,
    "c": 0.12374,
    "h": 150.9
  },
  "luminance": 0.12449
}

Semantic roles & 50–950 ramp

primary
#127238
secondary
#A9377C
accent
#38A7EF
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#060E07
muted
#7A7E7A

Preview Lab

Preview with #127238

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

Preview Lab → · Contrast checker → · Palette generator →

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