#127318#127318

#127318 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.5% C 0.151 H 143.4°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#127318
RGBrgb(18, 115, 24)
HSLhsl(124, 73%, 26%)
HSVhsv(124, 84%, 45%)
CMYKcmyk(84.3%, 0%, 79.1%, 54.9%)
CIE-LABlab(41.93, -44.77, 39.99)
CIE-LCHlch(41.93, 60.03, 138.22°)
OKLaboklab(48.48% -0.1212 0.09)
OKLCHoklch(48.48% 0.151 143.4)
XYZxyz(6.5446, 12.4552, 2.9231)
Luminance0.1246 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127318 #73126D
analogous
#3C7312 #127318 #127348
triadic
#127318 #181273 #731812
tetradic
#127318 #123C73 #73126D #734812
square
#127318 #123C73 #73126D #734812
split-complementary
#127318 #481273 #73123C
monochromatic
#041A06 #0A3E0D #127318 #1AA823 #23DD2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##127318#FFFFFF#000000##FFFFFF
##1273181.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)
#756704
Deuteranopia (green-blind)
#6B6022
Tritanopia (blue-blind)
#006F62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #127318;
/* rgb */ color: rgb(18, 115, 24);
/* oklch */ color: oklch(48.5% 0.151 143.4);
Tailwind
colors: {
  custom: {
    50: '#659c5c',
    500: '#127318',
    950: '#000000',
  },
}
SCSS
$custom: #127318;
$custom-light: #659c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#127318",
  "rgb": {
    "r": 18,
    "g": 115,
    "b": 24
  },
  "hsl": {
    "h": 123.711,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48477,
    "c": 0.151,
    "h": 143.4
  },
  "luminance": 0.12456
}

Semantic roles & 50–950 ramp

primary
#127318
secondary
#AA37A3
accent
#38E4F0
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #127318

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

Preview Lab → · Contrast checker → · Palette generator →

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