#127211#127211

#127211 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.1% C 0.153 H 142.6°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#127211
RGBrgb(18, 114, 17)
HSLhsl(119, 74%, 26%)
HSVhsv(119, 85%, 45%)
CMYKcmyk(84.2%, 0%, 85.1%, 55.3%)
CIE-LABlab(41.54, -44.93, 41.98)
CIE-LCHlch(41.54, 61.49, 136.95°)
OKLaboklab(48.14% -0.122 0.0932)
OKLCHoklch(48.14% 0.154 142.6)
XYZxyz(6.3675, 12.2029, 2.5500)
Luminance0.1220 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127211 #711172
analogous
#437211 #127211 #117240
triadic
#127211 #111272 #721112
tetradic
#127211 #114372 #711172 #724011
square
#127211 #114372 #711172 #724011
split-complementary
#127211 #401172 #721143
monochromatic
#041B04 #0A3D09 #127211 #1AA719 #23DD21

Accessibility & contrast

On white

6.10
#127211 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#127211 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127211
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127211#FFFFFF#000000##FFFFFF
##1272111.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#6B5F1D
Tritanopia (blue-blind)
#006E60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #127211;
/* rgb */ color: rgb(18, 114, 17);
/* oklch */ color: oklch(48.1% 0.153 142.6);
Tailwind
colors: {
  custom: {
    50: '#659c59',
    500: '#127211',
    950: '#000000',
  },
}
SCSS
$custom: #127211;
$custom-light: #659c59;
$custom-dark: #000000;
JSON
{
  "hex": "#127211",
  "rgb": {
    "r": 18,
    "g": 114,
    "b": 17
  },
  "hsl": {
    "h": 119.381,
    "s": 74.046,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48136,
    "c": 0.1535,
    "h": 142.6
  },
  "luminance": 0.12204
}

Semantic roles & 50–950 ramp

primary
#127211
secondary
#A836A9
accent
#37F1EF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #127211

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

Preview Lab → · Contrast checker → · Palette generator →

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