#1A8F52#1A8F52

#1A8F52 is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.4% C 0.136 H 154.2°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#1A8F52
RGBrgb(26, 143, 82)
HSLhsl(149, 69%, 33%)
HSVhsv(149, 82%, 56%)
CMYKcmyk(81.8%, 0%, 42.7%, 43.9%)
CIE-LABlab(52.37, -45.46, 23.85)
CIE-LCHlch(52.37, 51.34, 152.32°)
OKLaboklab(57.39% -0.1223 0.0592)
OKLCHoklch(57.39% 0.136 154.2)
XYZxyz(11.7703, 20.4723, 11.3122)
Luminance0.2047 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8F52 #8F1A57
analogous
#1C8F1A #1A8F52 #1A8F8C
triadic
#1A8F52 #521A8F #8F521A
tetradic
#1A8F52 #1A1C8F #8F1A57 #8F8C1A
square
#1A8F52 #1A1C8F #8F1A57 #8F8C1A
split-complementary
#1A8F52 #8C1A8F #8F1A1C
monochromatic
#072717 #115B34 #1A8F52 #23C370 #46DD8E

Accessibility & contrast

On white

4.12
#1A8F52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#1A8F52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1A8F52
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A8F52#FFFFFF#000000##000000
##1A8F521.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F834E
Deuteranopia (green-blind)
#817956
Tritanopia (blue-blind)
#008D80
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #1a8f52;
/* rgb */ color: rgb(26, 143, 82);
/* oklch */ color: oklch(57.4% 0.136 154.2);
Tailwind
colors: {
  custom: {
    50: '#6cb183',
    500: '#1a8f52',
    950: '#000000',
  },
}
SCSS
$custom: #1a8f52;
$custom-light: #6cb183;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8f52",
  "rgb": {
    "r": 26,
    "g": 143,
    "b": 82
  },
  "hsl": {
    "h": 148.718,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57393,
    "c": 0.13587,
    "h": 154.2
  },
  "luminance": 0.20474
}

Semantic roles & 50–950 ramp

primary
#1A8F52
secondary
#BF4685
accent
#3C98EC
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#08110A
muted
#7B807C

Preview Lab

Preview with #1A8F52

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

Preview Lab → · Contrast checker → · Palette generator →

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