#1B8229#1B8229

#1B8229 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.1% C 0.155 H 144.7°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#1B8229
RGBrgb(27, 130, 41)
HSLhsl(128, 66%, 31%)
HSVhsv(128, 79%, 51%)
CMYKcmyk(79.2%, 0%, 68.5%, 49%)
CIE-LABlab(47.44, -46.96, 38.78)
CIE-LCHlch(47.44, 60.90, 140.45°)
OKLaboklab(53.14% -0.1268 0.0897)
OKLCHoklch(53.14% 0.155 144.7)
XYZxyz(8.8343, 16.3573, 4.7891)
Luminance0.1636 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8229 #821B74
analogous
#40821B #1B8229 #1B825C
triadic
#1B8229 #291B82 #82291B
tetradic
#1B8229 #1B4082 #821B74 #825C1B
square
#1B8229 #1B4082 #821B74 #825C1B
split-complementary
#1B8229 #5C1B82 #821B40
monochromatic
#061D09 #104F19 #1B8229 #26B539 #40D755

Accessibility & contrast

On white

4.92
#1B8229 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#1B8229 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B8229
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8229#FFFFFF#000000##FFFFFF
##1B82291.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84751D
Deuteranopia (green-blind)
#796D31
Tritanopia (blue-blind)
#007E70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1b8229;
/* rgb */ color: rgb(27, 130, 41);
/* oklch */ color: oklch(53.1% 0.155 144.7);
Tailwind
colors: {
  custom: {
    50: '#6aa767',
    500: '#1b8229',
    950: '#000000',
  },
}
SCSS
$custom: #1b8229;
$custom-light: #6aa767;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8229",
  "rgb": {
    "r": 27,
    "g": 130,
    "b": 41
  },
  "hsl": {
    "h": 128.155,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53141,
    "c": 0.15531,
    "h": 144.7
  },
  "luminance": 0.16358
}

Semantic roles & 50–950 ramp

primary
#1B8229
secondary
#B643A6
accent
#3FD2E9
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081006
muted
#7A7F7A

Preview Lab

Preview with #1B8229

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

Preview Lab → · Contrast checker → · Palette generator →

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