#127317#127317

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

Color values

HEX#127317
RGBrgb(18, 115, 23)
HSLhsl(123, 73%, 26%)
HSVhsv(123, 84%, 45%)
CMYKcmyk(84.3%, 0%, 80%, 54.9%)
CIE-LABlab(41.92, -44.84, 40.35)
CIE-LCHlch(41.92, 60.33, 138.02°)
OKLaboklab(48.47% -0.1215 0.0906)
OKLCHoklch(48.47% 0.152 143.3)
XYZxyz(6.5344, 12.4511, 2.8694)
Luminance0.1245 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127317 #73126E
analogous
#3D7312 #127317 #127347
triadic
#127317 #171273 #731712
tetradic
#127317 #123D73 #73126E #734712
square
#127317 #123D73 #73126E #734712
split-complementary
#127317 #471273 #73123D
monochromatic
#041A05 #0A3E0C #127317 #1AA822 #23DD2C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##127317#FFFFFF#000000##FFFFFF
##1273171.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)
#766702
Deuteranopia (green-blind)
#6B6021
Tritanopia (blue-blind)
#006F62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #127317;
/* rgb */ color: rgb(18, 115, 23);
/* oklch */ color: oklch(48.5% 0.152 143.3);
Tailwind
colors: {
  custom: {
    50: '#659c5c',
    500: '#127317',
    950: '#000000',
  },
}
SCSS
$custom: #127317;
$custom-light: #659c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#127317",
  "rgb": {
    "r": 18,
    "g": 115,
    "b": 23
  },
  "hsl": {
    "h": 123.093,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.4847,
    "c": 0.15158,
    "h": 143.3
  },
  "luminance": 0.12452
}

Semantic roles & 50–950 ramp

primary
#127317
secondary
#AA37A4
accent
#38E6F0
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #127317

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

Preview Lab → · Contrast checker → · Palette generator →

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