#124F2A#124F2A

#124F2A is a dark, moderate green. Relative luminance 0.059; OKLCH L 37.9% C 0.087 H 152.3°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#124F2A
RGBrgb(18, 79, 42)
HSLhsl(144, 63%, 19%)
HSVhsv(144, 77%, 31%)
CMYKcmyk(77.2%, 0%, 46.8%, 69%)
CIE-LABlab(29.13, -28.75, 16.45)
CIE-LCHlch(29.13, 33.12, 150.23°)
OKLaboklab(37.92% -0.0775 0.0407)
OKLCHoklch(37.92% 0.088 152.3)
XYZxyz(3.4631, 5.8873, 3.1439)
Luminance0.0589 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124F2A #4F1237
analogous
#184F12 #124F2A #124F49
triadic
#124F2A #2A124F #4F2A12
tetradic
#124F2A #12184F #4F1237 #4F4912
square
#124F2A #12184F #4F1237 #4F4912
split-complementary
#124F2A #49124F #4F1218
monochromatic
#06190D #071D10 #124F2A #1D8145 #29B35F

Accessibility & contrast

On white

9.64
#124F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#124F2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124F2A
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124F2A#FFFFFF#000000##FFFFFF
##124F2A1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4827
Deuteranopia (green-blind)
#48432D
Tritanopia (blue-blind)
#004E46
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #124f2a;
/* rgb */ color: rgb(18, 79, 42);
/* oklch */ color: oklch(37.9% 0.087 152.3);
Tailwind
colors: {
  custom: {
    50: '#5a8164',
    500: '#124f2a',
    950: '#000000',
  },
}
SCSS
$custom: #124f2a;
$custom-light: #5a8164;
$custom-dark: #000000;
JSON
{
  "hex": "#124f2a",
  "rgb": {
    "r": 18,
    "g": 79,
    "b": 42
  },
  "hsl": {
    "h": 143.607,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.37925,
    "c": 0.0875,
    "h": 152.3
  },
  "luminance": 0.05888
}

Semantic roles & 50–950 ramp

primary
#124F2A
secondary
#883567
accent
#42A5E6
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A05
muted
#797C7A

Preview Lab

Preview with #124F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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