#124E22#124E22

#124E22 is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.5% C 0.094 H 148.3°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#124E22
RGBrgb(18, 78, 34)
HSLhsl(136, 63%, 19%)
HSVhsv(136, 77%, 31%)
CMYKcmyk(76.9%, 0%, 56.4%, 69.4%)
CIE-LABlab(28.62, -29.85, 20.55)
CIE-LCHlch(28.62, 36.24, 145.45°)
OKLaboklab(37.46% -0.0804 0.0497)
OKLCHoklch(37.46% 0.094 148.3)
XYZxyz(3.2623, 5.6925, 2.4399)
Luminance0.0569 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124E22 #4E123E
analogous
#204E12 #124E22 #124E40
triadic
#124E22 #22124E #4E2212
tetradic
#124E22 #12204E #4E123E #4E4012
square
#124E22 #12204E #4E123E #4E4012
split-complementary
#124E22 #40124E #4E1220
monochromatic
#06190B #071C0C #124E22 #1D8038 #29B14D

Accessibility & contrast

On white

9.82
#124E22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#124E22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124E22
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124E22#FFFFFF#000000##FFFFFF
##124E221.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F471E
Deuteranopia (green-blind)
#484225
Tritanopia (blue-blind)
#004C44
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #124e22;
/* rgb */ color: rgb(18, 78, 34);
/* oklch */ color: oklch(37.5% 0.094 148.3);
Tailwind
colors: {
  custom: {
    50: '#5a805e',
    500: '#124e22',
    950: '#000000',
  },
}
SCSS
$custom: #124e22;
$custom-light: #5a805e;
$custom-dark: #000000;
JSON
{
  "hex": "#124e22",
  "rgb": {
    "r": 18,
    "g": 78,
    "b": 34
  },
  "hsl": {
    "h": 136,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.37465,
    "c": 0.09449,
    "h": 148.3
  },
  "luminance": 0.05693
}

Semantic roles & 50–950 ramp

primary
#124E22
secondary
#873571
accent
#42BAE6
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #124E22

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

Preview Lab → · Contrast checker → · Palette generator →

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