#1A7E2D#1A7E2D

#1A7E2D is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.147 H 145.8°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#1A7E2D
RGBrgb(26, 126, 45)
HSLhsl(131, 66%, 30%)
HSVhsv(131, 79%, 49%)
CMYKcmyk(79.4%, 0%, 64.3%, 50.6%)
CIE-LABlab(46.08, -45.24, 35.42)
CIE-LCHlch(46.08, 57.45, 141.94°)
OKLaboklab(52.02% -0.1219 0.083)
OKLCHoklch(52.02% 0.147 145.8)
XYZxyz(8.3599, 15.3298, 5.0005)
Luminance0.1533 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7E2D #7E1A6B
analogous
#397E1A #1A7E2D #1A7E5F
triadic
#1A7E2D #2D1A7E #7E2D1A
tetradic
#1A7E2D #1A397E #7E1A6B #7E5F1A
square
#1A7E2D #1A397E #7E1A6B #7E5F1A
split-complementary
#1A7E2D #5F1A7E #7E1A39
monochromatic
#051909 #104B1B #1A7E2D #24B13F #3CD759

Accessibility & contrast

On white

5.16
#1A7E2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#1A7E2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7E2D
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7E2D#FFFFFF#000000##FFFFFF
##1A7E2D1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807224
Deuteranopia (green-blind)
#756A34
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1a7e2d;
/* rgb */ color: rgb(26, 126, 45);
/* oklch */ color: oklch(52.0% 0.147 145.8);
Tailwind
colors: {
  custom: {
    50: '#69a469',
    500: '#1a7e2d',
    950: '#000000',
  },
}
SCSS
$custom: #1a7e2d;
$custom-light: #69a469;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7e2d",
  "rgb": {
    "r": 26,
    "g": 126,
    "b": 45
  },
  "hsl": {
    "h": 131.4,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52022,
    "c": 0.14747,
    "h": 145.8
  },
  "luminance": 0.15331
}

Semantic roles & 50–950 ramp

primary
#1A7E2D
secondary
#B2429D
accent
#3FC8E9
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1A7E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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