#1B7235#1B7235

#1B7235 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.7% C 0.124 H 148.9°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#1B7235
RGBrgb(27, 114, 53)
HSLhsl(138, 62%, 28%)
HSVhsv(138, 76%, 45%)
CMYKcmyk(76.3%, 0%, 53.5%, 55.3%)
CIE-LABlab(42.04, -39.47, 26.54)
CIE-LCHlch(42.04, 47.56, 146.09°)
OKLaboklab(48.71% -0.1062 0.0642)
OKLCHoklch(48.71% 0.124 148.9)
XYZxyz(7.1113, 12.5239, 5.4100)
Luminance0.1253 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7235 #721B58
analogous
#2D721B #1B7235 #1B7260
triadic
#1B7235 #351B72 #72351B
tetradic
#1B7235 #1B2D72 #721B58 #72601B
square
#1B7235 #1B2D72 #721B58 #72601B
split-complementary
#1B7235 #601B72 #721B2D
monochromatic
#06190C #0F411E #1B7235 #27A34C #38D065

Accessibility & contrast

On white

5.99
#1B7235 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#1B7235 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7235
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7235#FFFFFF#000000##FFFFFF
##1B72351.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736830
Deuteranopia (green-blind)
#696039
Tritanopia (blue-blind)
#007064
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #1b7235;
/* rgb */ color: rgb(27, 114, 53);
/* oklch */ color: oklch(48.7% 0.124 148.9);
Tailwind
colors: {
  custom: {
    50: '#669b6d',
    500: '#1b7235',
    950: '#000000',
  },
}
SCSS
$custom: #1b7235;
$custom-light: #669b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7235",
  "rgb": {
    "r": 27,
    "g": 114,
    "b": 53
  },
  "hsl": {
    "h": 137.931,
    "s": 61.702,
    "l": 27.647
  },
  "oklch": {
    "l": 0.48707,
    "c": 0.12406,
    "h": 148.9
  },
  "luminance": 0.12525
}

Semantic roles & 50–950 ramp

primary
#1B7235
secondary
#A74289
accent
#43B4E5
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#060E07
muted
#7A7E7A

Preview Lab

Preview with #1B7235

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

Preview Lab → · Contrast checker → · Palette generator →

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