#124B2A#124B2A

#124B2A is a dark, moderate green. Relative luminance 0.053; OKLCH L 36.7% C 0.081 H 153.6°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#124B2A
RGBrgb(18, 75, 42)
HSLhsl(145, 61%, 18%)
HSVhsv(145, 76%, 29%)
CMYKcmyk(76%, 0%, 44%, 70.6%)
CIE-LABlab(27.65, -26.97, 14.51)
CIE-LCHlch(27.65, 30.63, 151.72°)
OKLaboklab(36.71% -0.0728 0.0361)
OKLCHoklch(36.71% 0.081 153.6)
XYZxyz(3.1832, 5.3276, 3.0506)
Luminance0.0533 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124B2A #4B1233
analogous
#164B12 #124B2A #124B46
triadic
#124B2A #2A124B #4B2A12
tetradic
#124B2A #12164B #4B1233 #4B4612
square
#124B2A #12164B #4B1233 #4B4612
split-complementary
#124B2A #46124B #4B1216
monochromatic
#06190E #061A0E #124B2A #1E7C46 #2AAE61

Accessibility & contrast

On white

10.17
#124B2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#124B2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124B2A
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124B2A#FFFFFF#000000##FFFFFF
##124B2A1.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4428
Deuteranopia (green-blind)
#443F2C
Tritanopia (blue-blind)
#004A43
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #124b2a;
/* rgb */ color: rgb(18, 75, 42);
/* oklch */ color: oklch(36.7% 0.081 153.6);
Tailwind
colors: {
  custom: {
    50: '#597e64',
    500: '#124b2a',
    950: '#000000',
  },
}
SCSS
$custom: #124b2a;
$custom-light: #597e64;
$custom-dark: #000000;
JSON
{
  "hex": "#124b2a",
  "rgb": {
    "r": 18,
    "g": 75,
    "b": 42
  },
  "hsl": {
    "h": 145.263,
    "s": 61.29,
    "l": 18.235
  },
  "oklch": {
    "l": 0.36706,
    "c": 0.08128,
    "h": 153.6
  },
  "luminance": 0.05328
}

Semantic roles & 50–950 ramp

primary
#124B2A
secondary
#843563
accent
#43A1E4
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040A05
muted
#797C79

Preview Lab

Preview with #124B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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