#1B823B#1B823B

#1B823B is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.4% C 0.140 H 148.7°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#1B823B
RGBrgb(27, 130, 59)
HSLhsl(139, 66%, 31%)
HSVhsv(139, 79%, 51%)
CMYKcmyk(79.2%, 0%, 54.6%, 49%)
CIE-LABlab(47.64, -44.55, 30.23)
CIE-LCHlch(47.64, 53.83, 145.84°)
OKLaboklab(53.37% -0.1197 0.0728)
OKLCHoklch(53.37% 0.14 148.7)
XYZxyz(9.2233, 16.5129, 6.8380)
Luminance0.1651 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B823B #821B62
analogous
#2E821B #1B823B #1B826E
triadic
#1B823B #3B1B82 #823B1B
tetradic
#1B823B #1B2E82 #821B62 #826E1B
square
#1B823B #1B2E82 #821B62 #826E1B
split-complementary
#1B823B #6E1B82 #821B2E
monochromatic
#061D0D #104F24 #1B823B #26B552 #40D76F

Accessibility & contrast

On white

4.88
#1B823B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#1B823B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B823B
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B823B#FFFFFF#000000##FFFFFF
##1B823B1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837635
Deuteranopia (green-blind)
#786E40
Tritanopia (blue-blind)
#007F72
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1b823b;
/* rgb */ color: rgb(27, 130, 59);
/* oklch */ color: oklch(53.4% 0.140 148.7);
Tailwind
colors: {
  custom: {
    50: '#6aa773',
    500: '#1b823b',
    950: '#000000',
  },
}
SCSS
$custom: #1b823b;
$custom-light: #6aa773;
$custom-dark: #000000;
JSON
{
  "hex": "#1b823b",
  "rgb": {
    "r": 27,
    "g": 130,
    "b": 59
  },
  "hsl": {
    "h": 138.641,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53373,
    "c": 0.14009,
    "h": 148.7
  },
  "luminance": 0.16514
}

Semantic roles & 50–950 ramp

primary
#1B823B
secondary
#B64392
accent
#3FB4E9
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#071008
muted
#7A7F7B

Preview Lab

Preview with #1B823B

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

Preview Lab → · Contrast checker → · Palette generator →

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