#124A28#124A28

#124A28 is a dark, moderate green. Relative luminance 0.052; OKLCH L 36.4% C 0.082 H 152.6°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#124A28
RGBrgb(18, 74, 40)
HSLhsl(144, 61%, 18%)
HSVhsv(144, 76%, 29%)
CMYKcmyk(75.7%, 0%, 45.9%, 71%)
CIE-LABlab(27.24, -26.95, 15.21)
CIE-LCHlch(27.24, 30.94, 150.57°)
OKLaboklab(36.36% -0.0727 0.0377)
OKLCHoklch(36.36% 0.082 152.6)
XYZxyz(3.0810, 5.1790, 2.8444)
Luminance0.0518 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124A28 #4A1234
analogous
#184A12 #124A28 #124A44
triadic
#124A28 #28124A #4A2812
tetradic
#124A28 #12184A #4A1234 #4A4412
square
#124A28 #12184A #4A1234 #4A4412
split-complementary
#124A28 #44124A #4A1218
monochromatic
#06190D #06190D #124A28 #1E7B43 #2AAC5D

Accessibility & contrast

On white

10.32
#124A28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#124A28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124A28
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124A28#FFFFFF#000000##FFFFFF
##124A281.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4326
Deuteranopia (green-blind)
#433E2A
Tritanopia (blue-blind)
#004942
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #124a28;
/* rgb */ color: rgb(18, 74, 40);
/* oklch */ color: oklch(36.4% 0.082 152.6);
Tailwind
colors: {
  custom: {
    50: '#597d62',
    500: '#124a28',
    950: '#000000',
  },
}
SCSS
$custom: #124a28;
$custom-light: #597d62;
$custom-dark: #000000;
JSON
{
  "hex": "#124a28",
  "rgb": {
    "r": 18,
    "g": 74,
    "b": 40
  },
  "hsl": {
    "h": 143.571,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.36356,
    "c": 0.08189,
    "h": 152.6
  },
  "luminance": 0.05179
}

Semantic roles & 50–950 ramp

primary
#124A28
secondary
#833564
accent
#44A5E4
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040A05
muted
#797C79

Preview Lab

Preview with #124A28

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

Preview Lab → · Contrast checker → · Palette generator →

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