#1A5231#1A5231

#1A5231 is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.2% C 0.081 H 154.1°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#1A5231
RGBrgb(26, 82, 49)
HSLhsl(145, 52%, 21%)
HSVhsv(145, 68%, 32%)
CMYKcmyk(68.3%, 0%, 40.2%, 67.8%)
CIE-LABlab(30.58, -26.90, 14.14)
CIE-LCHlch(30.58, 30.39, 152.28°)
OKLaboklab(39.23% -0.0729 0.0354)
OKLCHoklch(39.23% 0.081 154.1)
XYZxyz(3.9973, 6.4755, 3.9444)
Luminance0.0648 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A5231 #521A3B
analogous
#1F521A #1A5231 #1A524D
triadic
#1A5231 #311A52 #52311A
tetradic
#1A5231 #1A1F52 #521A3B #524D1A
square
#1A5231 #1A1F52 #521A3B #524D1A
split-complementary
#1A5231 #4D1A52 #521A1F
monochromatic
#07170E #0B2415 #1A5231 #29804D #37AF69

Accessibility & contrast

On white

9.15
#1A5231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#1A5231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A5231
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A5231#FFFFFF#000000##FFFFFF
##1A52311.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524B2F
Deuteranopia (green-blind)
#4A4633
Tritanopia (blue-blind)
#03514A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1a5231;
/* rgb */ color: rgb(26, 82, 49);
/* oklch */ color: oklch(39.2% 0.081 154.1);
Tailwind
colors: {
  custom: {
    50: '#5e8369',
    500: '#1a5231',
    950: '#000000',
  },
}
SCSS
$custom: #1a5231;
$custom-light: #5e8369;
$custom-dark: #000000;
JSON
{
  "hex": "#1a5231",
  "rgb": {
    "r": 26,
    "g": 82,
    "b": 49
  },
  "hsl": {
    "h": 144.643,
    "s": 51.852,
    "l": 21.176
  },
  "oklch": {
    "l": 0.39231,
    "c": 0.08101,
    "h": 154.1
  },
  "luminance": 0.06476
}

Semantic roles & 50–950 ramp

primary
#1A5231
secondary
#88406A
accent
#4CA1DB
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#050A06
muted
#797C7A

Preview Lab

Preview with #1A5231

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

Preview Lab → · Contrast checker → · Palette generator →

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