#127518#127518

#127518 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.1% C 0.153 H 143.4°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#127518
RGBrgb(18, 117, 24)
HSLhsl(124, 73%, 26%)
HSVhsv(124, 85%, 46%)
CMYKcmyk(84.6%, 0%, 79.5%, 54.1%)
CIE-LABlab(42.64, -45.43, 40.69)
CIE-LCHlch(42.64, 60.99, 138.15°)
OKLaboklab(49.07% -0.123 0.0915)
OKLCHoklch(49.07% 0.153 143.4)
XYZxyz(6.7752, 12.9163, 3.0000)
Luminance0.1292 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127518 #75126F
analogous
#3E7512 #127518 #12754A
triadic
#127518 #181275 #751812
tetradic
#127518 #123E75 #75126F #754A12
square
#127518 #123E75 #75126F #754A12
split-complementary
#127518 #4A1275 #75123E
monochromatic
#041B05 #0A400D #127518 #1AAA23 #24DD2F

Accessibility & contrast

On white

5.86
#127518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#127518 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127518
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127518#FFFFFF#000000##FFFFFF
##1275181.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786903
Deuteranopia (green-blind)
#6D6223
Tritanopia (blue-blind)
#007163
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #127518;
/* rgb */ color: rgb(18, 117, 24);
/* oklch */ color: oklch(49.1% 0.153 143.4);
Tailwind
colors: {
  custom: {
    50: '#659e5c',
    500: '#127518',
    950: '#000000',
  },
}
SCSS
$custom: #127518;
$custom-light: #659e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#127518",
  "rgb": {
    "r": 18,
    "g": 117,
    "b": 24
  },
  "hsl": {
    "h": 123.636,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49065,
    "c": 0.15333,
    "h": 143.4
  },
  "luminance": 0.12917
}

Semantic roles & 50–950 ramp

primary
#127518
secondary
#AC37A5
accent
#38E5F0
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #127518

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

Preview Lab → · Contrast checker → · Palette generator →

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