#1BA042#1BA042

#1BA042 is a mid, vivid green. Relative luminance 0.258; OKLCH L 61.8% C 0.172 H 147.6°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#1BA042
RGBrgb(27, 160, 66)
HSLhsl(138, 71%, 37%)
HSVhsv(138, 83%, 63%)
CMYKcmyk(83.1%, 0%, 58.8%, 37.3%)
CIE-LABlab(57.81, -54.08, 38.91)
CIE-LCHlch(57.81, 66.62, 144.26°)
OKLaboklab(61.84% -0.1453 0.0923)
OKLCHoklch(61.84% 0.172 147.6)
XYZxyz(14.0051, 25.7662, 9.3885)
Luminance0.2577 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1BA042 #A01B79
analogous
#37A01B #1BA042 #1BA085
triadic
#1BA042 #421BA0 #A0421B
tetradic
#1BA042 #1B37A0 #A01B79 #A0851B
square
#1BA042 #1B37A0 #A01B79 #A0851B
split-complementary
#1BA042 #851BA0 #A01B37
monochromatic
#093717 #126C2C #1BA042 #24D458 #53E27D

Accessibility & contrast

On white

3.41
#1BA042 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#1BA042 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1BA042
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1BA042#FFFFFF#000000##000000
##1BA0421.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29139
Deuteranopia (green-blind)
#94874A
Tritanopia (blue-blind)
#009C8B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #1ba042;
/* rgb */ color: rgb(27, 160, 66);
/* oklch */ color: oklch(61.8% 0.172 147.6);
Tailwind
colors: {
  custom: {
    50: '#71bd79',
    500: '#1ba042',
    950: '#000000',
  },
}
SCSS
$custom: #1ba042;
$custom-light: #71bd79;
$custom-dark: #000000;
JSON
{
  "hex": "#1ba042",
  "rgb": {
    "r": 27,
    "g": 160,
    "b": 66
  },
  "hsl": {
    "h": 137.594,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61838,
    "c": 0.17212,
    "h": 147.6
  },
  "luminance": 0.25768
}

Semantic roles & 50–950 ramp

primary
#1BA042
secondary
#C552A3
accent
#3AB9EE
background
#F7FBF7
surface
#EDF7ED
border
#C8D0C8
text
#091209
muted
#7B817B

Preview Lab

Preview with #1BA042

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

Preview Lab → · Contrast checker → · Palette generator →

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