#124B2C#124B2C

#124B2C is a dark, moderate green. Relative luminance 0.053; OKLCH L 36.8% C 0.079 H 155.1°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#124B2C
RGBrgb(18, 75, 44)
HSLhsl(147, 61%, 18%)
HSVhsv(147, 76%, 29%)
CMYKcmyk(76%, 0%, 41.3%, 70.6%)
CIE-LABlab(27.69, -26.53, 13.32)
CIE-LCHlch(27.69, 29.68, 153.33°)
OKLaboklab(36.75% -0.0717 0.0334)
OKLCHoklch(36.75% 0.079 155.1)
XYZxyz(3.2199, 5.3422, 3.2438)
Luminance0.0534 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124B2C #4B1231
analogous
#154B12 #124B2C #124B48
triadic
#124B2C #2C124B #4B2C12
tetradic
#124B2C #12154B #4B1231 #4B4812
square
#124B2C #12154B #4B1231 #4B4812
split-complementary
#124B2C #48124B #4B1215
monochromatic
#06190E #061A0F #124B2C #1E7C49 #2AAE66

Accessibility & contrast

On white

10.15
#124B2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124B2C
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124B2C#FFFFFF#000000##FFFFFF
##124B2C1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #124b2c;
/* rgb */ color: rgb(18, 75, 44);
/* oklch */ color: oklch(36.8% 0.079 155.1);
Tailwind
colors: {
  custom: {
    50: '#597e65',
    500: '#124b2c',
    950: '#000000',
  },
}
SCSS
$custom: #124b2c;
$custom-light: #597e65;
$custom-dark: #000000;
JSON
{
  "hex": "#124b2c",
  "rgb": {
    "r": 18,
    "g": 75,
    "b": 44
  },
  "hsl": {
    "h": 147.368,
    "s": 61.29,
    "l": 18.235
  },
  "oklch": {
    "l": 0.36752,
    "c": 0.0791,
    "h": 155.1
  },
  "luminance": 0.05343
}

Semantic roles & 50–950 ramp

primary
#124B2C
secondary
#843560
accent
#439BE4
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A05
muted
#797C7A

Preview Lab

Preview with #124B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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