#1B9838#1B9838

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

Color values

HEX#1B9838
RGBrgb(27, 152, 56)
HSLhsl(134, 70%, 35%)
HSVhsv(134, 82%, 60%)
CMYKcmyk(82.2%, 0%, 63.2%, 40.4%)
CIE-LABlab(55.05, -52.69, 40.43)
CIE-LCHlch(55.05, 66.41, 142.50°)
OKLaboklab(59.5% -0.1418 0.0948)
OKLCHoklch(59.5% 0.171 146.2)
XYZxyz(12.3931, 22.9735, 7.5218)
Luminance0.2298 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B9838 #981B7B
analogous
#3D981B #1B9838 #1B9876
triadic
#1B9838 #381B98 #98381B
tetradic
#1B9838 #1B3D98 #981B7B #98761B
square
#1B9838 #1B3D98 #981B7B #98761B
split-complementary
#1B9838 #761B98 #981B3D
monochromatic
#093012 #126425 #1B9838 #24CC4B #4EE070

Accessibility & contrast

On white

3.75
#1B9838 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#1B9838 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B9838
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B9838#FFFFFF#000000##000000
##1B98381.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.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: #1b9838;
/* rgb */ color: rgb(27, 152, 56);
/* oklch */ color: oklch(59.5% 0.171 146.2);
Tailwind
colors: {
  custom: {
    50: '#70b772',
    500: '#1b9838',
    950: '#000000',
  },
}
SCSS
$custom: #1b9838;
$custom-light: #70b772;
$custom-dark: #000000;
JSON
{
  "hex": "#1b9838",
  "rgb": {
    "r": 27,
    "g": 152,
    "b": 56
  },
  "hsl": {
    "h": 133.92,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59504,
    "c": 0.17053,
    "h": 146.2
  },
  "luminance": 0.22975
}

Semantic roles & 50–950 ramp

primary
#1B9838
secondary
#C24DA7
accent
#3BC3ED
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #1B9838

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

Preview Lab → · Contrast checker → · Palette generator →

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