#127213#127213

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

Color values

HEX#127213
RGBrgb(18, 114, 19)
HSLhsl(121, 73%, 26%)
HSVhsv(121, 84%, 45%)
CMYKcmyk(84.2%, 0%, 83.3%, 55.3%)
CIE-LABlab(41.55, -44.80, 41.36)
CIE-LCHlch(41.55, 60.98, 137.29°)
OKLaboklab(48.15% -0.1216 0.0922)
OKLCHoklch(48.15% 0.153 142.8)
XYZxyz(6.3839, 12.2095, 2.6362)
Luminance0.1221 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127213 #721271
analogous
#417212 #127213 #127243
triadic
#127213 #131272 #721312
tetradic
#127213 #124172 #721271 #724312
square
#127213 #124172 #721271 #724312
split-complementary
#127213 #431272 #721241
monochromatic
#041A04 #0A3D0A #127213 #1AA71C #23DC25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##127213#FFFFFF#000000##FFFFFF
##1272131.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)
#6A5F1F
Tritanopia (blue-blind)
#006E61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #127213;
/* rgb */ color: rgb(18, 114, 19);
/* oklch */ color: oklch(48.1% 0.153 142.8);
Tailwind
colors: {
  custom: {
    50: '#659c5a',
    500: '#127213',
    950: '#000000',
  },
}
SCSS
$custom: #127213;
$custom-light: #659c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#127213",
  "rgb": {
    "r": 18,
    "g": 114,
    "b": 19
  },
  "hsl": {
    "h": 120.625,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48148,
    "c": 0.15254,
    "h": 142.8
  },
  "luminance": 0.1221
}

Semantic roles & 50–950 ramp

primary
#127213
secondary
#A937A8
accent
#38EEEF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #127213

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

Preview Lab → · Contrast checker → · Palette generator →

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