#124A2C#124A2C

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

Color values

HEX#124A2C
RGBrgb(18, 74, 44)
HSLhsl(148, 61%, 18%)
HSVhsv(148, 76%, 29%)
CMYKcmyk(75.7%, 0%, 40.5%, 71%)
CIE-LABlab(27.32, -26.07, 12.83)
CIE-LCHlch(27.32, 29.05, 153.80°)
OKLaboklab(36.45% -0.0705 0.0322)
OKLCHoklch(36.45% 0.078 155.5)
XYZxyz(3.1526, 5.2077, 3.2214)
Luminance0.0521 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124A2C #4A1230
analogous
#144A12 #124A2C #124A48
triadic
#124A2C #2C124A #4A2C12
tetradic
#124A2C #12144A #4A1230 #4A4812
square
#124A2C #12144A #4A1230 #4A4812
split-complementary
#124A2C #48124A #4A1214
monochromatic
#06190F #06190F #124A2C #1E7B49 #2AAC67

Accessibility & contrast

On white

10.29
#124A2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124A2C
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124A2C#FFFFFF#000000##FFFFFF
##124A2C1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A442A
Deuteranopia (green-blind)
#433F2E
Tritanopia (blue-blind)
#004942
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #124a2c;
/* rgb */ color: rgb(18, 74, 44);
/* oklch */ color: oklch(36.4% 0.078 155.5);
Tailwind
colors: {
  custom: {
    50: '#587d65',
    500: '#124a2c',
    950: '#000000',
  },
}
SCSS
$custom: #124a2c;
$custom-light: #587d65;
$custom-dark: #000000;
JSON
{
  "hex": "#124a2c",
  "rgb": {
    "r": 18,
    "g": 74,
    "b": 44
  },
  "hsl": {
    "h": 147.857,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.36448,
    "c": 0.07753,
    "h": 155.5
  },
  "luminance": 0.05208
}

Semantic roles & 50–950 ramp

primary
#124A2C
secondary
#83355F
accent
#449AE4
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040905
muted
#797B7A

Preview Lab

Preview with #124A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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