#1BA040#1BA040

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

Color values

HEX#1BA040
RGBrgb(27, 160, 64)
HSLhsl(137, 71%, 37%)
HSVhsv(137, 83%, 63%)
CMYKcmyk(83.1%, 0%, 60%, 37.3%)
CIE-LABlab(57.79, -54.35, 39.84)
CIE-LCHlch(57.79, 67.38, 143.76°)
OKLaboklab(61.81% -0.146 0.0942)
OKLCHoklch(61.81% 0.174 147.2)
XYZxyz(13.9471, 25.7431, 9.0833)
Luminance0.2575 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1BA040 #A01B7B
analogous
#38A01B #1BA040 #1BA083
triadic
#1BA040 #401BA0 #A0401B
tetradic
#1BA040 #1B38A0 #A01B7B #A0831B
square
#1BA040 #1B38A0 #A01B7B #A0831B
split-complementary
#1BA040 #831BA0 #A01B38
monochromatic
#093716 #126C2B #1BA040 #24D455 #53E27B

Accessibility & contrast

On white

3.42
#1BA040 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##1BA040#FFFFFF#000000##000000
##1BA0401.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29136
Deuteranopia (green-blind)
#948748
Tritanopia (blue-blind)
#009C8B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #1ba040;
/* rgb */ color: rgb(27, 160, 64);
/* oklch */ color: oklch(61.8% 0.174 147.2);
Tailwind
colors: {
  custom: {
    50: '#71bd78',
    500: '#1ba040',
    950: '#000000',
  },
}
SCSS
$custom: #1ba040;
$custom-light: #71bd78;
$custom-dark: #000000;
JSON
{
  "hex": "#1ba040",
  "rgb": {
    "r": 27,
    "g": 160,
    "b": 64
  },
  "hsl": {
    "h": 136.692,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61813,
    "c": 0.17377,
    "h": 147.2
  },
  "luminance": 0.25745
}

Semantic roles & 50–950 ramp

primary
#1BA040
secondary
#C552A5
accent
#3ABCEE
background
#F7FBF7
surface
#EDF7ED
border
#C8D0C8
text
#091209
muted
#7B817B

Preview Lab

Preview with #1BA040

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

Preview Lab → · Contrast checker → · Palette generator →

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