#124A26#124A26

#124A26 is a dark, moderate green. Relative luminance 0.052; OKLCH L 36.3% C 0.084 H 151.3°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#124A26
RGBrgb(18, 74, 38)
HSLhsl(141, 61%, 18%)
HSVhsv(141, 76%, 29%)
CMYKcmyk(75.7%, 0%, 48.6%, 71%)
CIE-LABlab(27.20, -27.37, 16.38)
CIE-LCHlch(27.20, 31.89, 149.09°)
OKLaboklab(36.31% -0.0738 0.0404)
OKLCHoklch(36.31% 0.084 151.3)
XYZxyz(3.0478, 5.1658, 2.6698)
Luminance0.0517 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124A26 #4A1236
analogous
#1A4A12 #124A26 #124A42
triadic
#124A26 #26124A #4A2612
tetradic
#124A26 #121A4A #4A1236 #4A4212
square
#124A26 #121A4A #4A1236 #4A4212
split-complementary
#124A26 #42124A #4A121A
monochromatic
#06190D #06190D #124A26 #1E7B3F #2AAC59

Accessibility & contrast

On white

10.33
#124A26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#124A26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124A26
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124A26#FFFFFF#000000##FFFFFF
##124A261.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4323
Deuteranopia (green-blind)
#433E28
Tritanopia (blue-blind)
#004941
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #124a26;
/* rgb */ color: rgb(18, 74, 38);
/* oklch */ color: oklch(36.3% 0.084 151.3);
Tailwind
colors: {
  custom: {
    50: '#597d61',
    500: '#124a26',
    950: '#000000',
  },
}
SCSS
$custom: #124a26;
$custom-light: #597d61;
$custom-dark: #000000;
JSON
{
  "hex": "#124a26",
  "rgb": {
    "r": 18,
    "g": 74,
    "b": 38
  },
  "hsl": {
    "h": 141.429,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.36314,
    "c": 0.08408,
    "h": 151.3
  },
  "luminance": 0.05166
}

Semantic roles & 50–950 ramp

primary
#124A26
secondary
#833567
accent
#44ABE4
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A05
muted
#797C79

Preview Lab

Preview with #124A26

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

Preview Lab → · Contrast checker → · Palette generator →

#124A26 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva