#127223#127223

#127223 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.3% C 0.142 H 145.2°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#127223
RGBrgb(18, 114, 35)
HSLhsl(131, 73%, 26%)
HSVhsv(131, 84%, 45%)
CMYKcmyk(84.2%, 0%, 69.3%, 55.3%)
CIE-LABlab(41.66, -43.35, 35.14)
CIE-LCHlch(41.66, 55.81, 140.97°)
OKLaboklab(48.28% -0.1169 0.0813)
OKLCHoklch(48.28% 0.142 145.2)
XYZxyz(6.5697, 12.2838, 3.6145)
Luminance0.1229 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127223 #721261
analogous
#317212 #127223 #127253
triadic
#127223 #231272 #722312
tetradic
#127223 #123172 #721261 #725312
square
#127223 #123172 #721261 #725312
split-complementary
#127223 #531272 #721231
monochromatic
#041A08 #0A3D13 #127223 #1AA733 #23DC43

Accessibility & contrast

On white

6.07
#127223 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#127223 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127223
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127223#FFFFFF#000000##FFFFFF
##1272231.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746719
Deuteranopia (green-blind)
#6A5F2A
Tritanopia (blue-blind)
#006F62
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #127223;
/* rgb */ color: rgb(18, 114, 35);
/* oklch */ color: oklch(48.3% 0.142 145.2);
Tailwind
colors: {
  custom: {
    50: '#649c62',
    500: '#127223',
    950: '#000000',
  },
}
SCSS
$custom: #127223;
$custom-light: #649c62;
$custom-dark: #000000;
JSON
{
  "hex": "#127223",
  "rgb": {
    "r": 18,
    "g": 114,
    "b": 35
  },
  "hsl": {
    "h": 130.625,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48282,
    "c": 0.14239,
    "h": 145.2
  },
  "luminance": 0.12285
}

Semantic roles & 50–950 ramp

primary
#127223
secondary
#A93795
accent
#38CFEF
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #127223

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

Preview Lab → · Contrast checker → · Palette generator →

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