#127235#127235

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

Color values

HEX#127235
RGBrgb(18, 114, 53)
HSLhsl(142, 73%, 26%)
HSVhsv(142, 84%, 45%)
CMYKcmyk(84.2%, 0%, 53.5%, 55.3%)
CIE-LABlab(41.88, -40.79, 26.30)
CIE-LCHlch(41.88, 48.54, 147.19°)
OKLaboklab(48.53% -0.1095 0.0637)
OKLCHoklch(48.53% 0.127 149.8)
XYZxyz(6.9088, 12.4194, 5.4005)
Luminance0.1242 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127235 #72124F
analogous
#1F7212 #127235 #127265
triadic
#127235 #351272 #723512
tetradic
#127235 #121F72 #72124F #726512
square
#127235 #121F72 #72124F #726512
split-complementary
#127235 #651272 #72121F
monochromatic
#041A0C #0A3D1C #127235 #1AA74E #23DC66

Accessibility & contrast

On white

6.03
#127235 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #127235
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127235#FFFFFF#000000##FFFFFF
##1272351.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #127235;
/* rgb */ color: rgb(18, 114, 53);
/* oklch */ color: oklch(48.5% 0.127 149.8);
Tailwind
colors: {
  custom: {
    50: '#639b6d',
    500: '#127235',
    950: '#000000',
  },
}
SCSS
$custom: #127235;
$custom-light: #639b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#127235",
  "rgb": {
    "r": 18,
    "g": 114,
    "b": 53
  },
  "hsl": {
    "h": 141.875,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48526,
    "c": 0.12665,
    "h": 149.8
  },
  "luminance": 0.1242
}

Semantic roles & 50–950 ramp

primary
#127235
secondary
#A9377F
accent
#38ADEF
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#060E07
muted
#7A7E7A

Preview Lab

Preview with #127235

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

Preview Lab → · Contrast checker → · Palette generator →

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