#1B823C#1B823C

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

Color values

HEX#1B823C
RGBrgb(27, 130, 60)
HSLhsl(139, 66%, 31%)
HSVhsv(139, 79%, 51%)
CMYKcmyk(79.2%, 0%, 53.8%, 49%)
CIE-LABlab(47.65, -44.39, 29.72)
CIE-LCHlch(47.65, 53.42, 146.20°)
OKLaboklab(53.39% -0.1193 0.0717)
OKLCHoklch(53.39% 0.139 149)
XYZxyz(9.2495, 16.5234, 6.9760)
Luminance0.1653 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B823C #821B61
analogous
#2E821B #1B823C #1B826F
triadic
#1B823C #3C1B82 #823C1B
tetradic
#1B823C #1B2E82 #821B61 #826F1B
square
#1B823C #1B2E82 #821B61 #826F1B
split-complementary
#1B823C #6F1B82 #821B2E
monochromatic
#061D0D #104F25 #1B823C #26B553 #40D771

Accessibility & contrast

On white

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

On black

4.31
#1B823C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1B823C#FFFFFF#000000##FFFFFF
##1B823C1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837636
Deuteranopia (green-blind)
#776E41
Tritanopia (blue-blind)
#007F72
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1b823c;
/* rgb */ color: rgb(27, 130, 60);
/* oklch */ color: oklch(53.4% 0.139 149.0);
Tailwind
colors: {
  custom: {
    50: '#6aa773',
    500: '#1b823c',
    950: '#000000',
  },
}
SCSS
$custom: #1b823c;
$custom-light: #6aa773;
$custom-dark: #000000;
JSON
{
  "hex": "#1b823c",
  "rgb": {
    "r": 27,
    "g": 130,
    "b": 60
  },
  "hsl": {
    "h": 139.223,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53388,
    "c": 0.13916,
    "h": 149
  },
  "luminance": 0.16525
}

Semantic roles & 50–950 ramp

primary
#1B823C
secondary
#B64391
accent
#3FB2E9
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#071008
muted
#7A7F7B

Preview Lab

Preview with #1B823C

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

Preview Lab → · Contrast checker → · Palette generator →

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