#1A7F2D#1A7F2D

#1A7F2D is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.3% C 0.149 H 145.7°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#1A7F2D
RGBrgb(26, 127, 45)
HSLhsl(131, 66%, 30%)
HSVhsv(131, 80%, 50%)
CMYKcmyk(79.5%, 0%, 64.6%, 50.2%)
CIE-LABlab(46.43, -45.59, 35.81)
CIE-LCHlch(46.43, 57.97, 141.85°)
OKLaboklab(52.31% -0.1229 0.0838)
OKLCHoklch(52.31% 0.149 145.7)
XYZxyz(8.4884, 15.5868, 5.0433)
Luminance0.1559 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7F2D #7F1A6C
analogous
#3A7F1A #1A7F2D #1A7F5F
triadic
#1A7F2D #2D1A7F #7F2D1A
tetradic
#1A7F2D #1A3A7F #7F1A6C #7F5F1A
square
#1A7F2D #1A3A7F #7F1A6C #7F5F1A
split-complementary
#1A7F2D #5F1A7F #7F1A3A
monochromatic
#051909 #104C1B #1A7F2D #24B23F #3CD759

Accessibility & contrast

On white

5.10
#1A7F2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#1A7F2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7F2D
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7F2D#FFFFFF#000000##FFFFFF
##1A7F2D1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817324
Deuteranopia (green-blind)
#766B34
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1a7f2d;
/* rgb */ color: rgb(26, 127, 45);
/* oklch */ color: oklch(52.3% 0.149 145.7);
Tailwind
colors: {
  custom: {
    50: '#69a569',
    500: '#1a7f2d',
    950: '#000000',
  },
}
SCSS
$custom: #1a7f2d;
$custom-light: #69a569;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7f2d",
  "rgb": {
    "r": 26,
    "g": 127,
    "b": 45
  },
  "hsl": {
    "h": 131.287,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.52309,
    "c": 0.14873,
    "h": 145.7
  },
  "luminance": 0.15588
}

Semantic roles & 50–950 ramp

primary
#1A7F2D
secondary
#B3429E
accent
#3FC9E9
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1A7F2D

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

Preview Lab → · Contrast checker → · Palette generator →

#1A7F2D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva