#1A9838#1A9838

#1A9838 is a mid, vivid green. Relative luminance 0.230; OKLCH L 59.5% C 0.171 H 146.3°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#1A9838
RGBrgb(26, 152, 56)
HSLhsl(134, 71%, 35%)
HSVhsv(134, 83%, 60%)
CMYKcmyk(82.9%, 0%, 63.2%, 40.4%)
CIE-LABlab(55.03, -52.80, 40.41)
CIE-LCHlch(55.03, 66.49, 142.57°)
OKLaboklab(59.49% -0.1421 0.0947)
OKLCHoklch(59.49% 0.171 146.3)
XYZxyz(12.3671, 22.9601, 7.5206)
Luminance0.2296 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A9838 #981A7A
analogous
#3B981A #1A9838 #1A9877
triadic
#1A9838 #381A98 #98381A
tetradic
#1A9838 #1A3B98 #981A7A #98771A
square
#1A9838 #1A3B98 #981A7A #98771A
split-complementary
#1A9838 #771A98 #981A3B
monochromatic
#082F11 #116425 #1A9838 #23CC4B #4CE06F

Accessibility & contrast

On white

3.76
#1A9838 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#1A9838 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1A9838
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A9838#FFFFFF#000000##000000
##1A98381.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A892D
Deuteranopia (green-blind)
#8D8040
Tritanopia (blue-blind)
#009484
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #1a9838;
/* rgb */ color: rgb(26, 152, 56);
/* oklch */ color: oklch(59.5% 0.171 146.3);
Tailwind
colors: {
  custom: {
    50: '#6fb772',
    500: '#1a9838',
    950: '#000000',
  },
}
SCSS
$custom: #1a9838;
$custom-light: #6fb772;
$custom-dark: #000000;
JSON
{
  "hex": "#1a9838",
  "rgb": {
    "r": 26,
    "g": 152,
    "b": 56
  },
  "hsl": {
    "h": 134.286,
    "s": 70.787,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59489,
    "c": 0.17074,
    "h": 146.3
  },
  "luminance": 0.22962
}

Semantic roles & 50–950 ramp

primary
#1A9838
secondary
#C24BA6
accent
#3AC3EE
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #1A9838

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

Preview Lab → · Contrast checker → · Palette generator →

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