#124C2E#124C2E

#124C2E is a dark, moderate green. Relative luminance 0.055; OKLCH L 37.1% C 0.079 H 156.2°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#124C2E
RGBrgb(18, 76, 46)
HSLhsl(149, 62%, 18%)
HSVhsv(149, 76%, 30%)
CMYKcmyk(76.3%, 0%, 39.5%, 70.2%)
CIE-LABlab(28.10, -26.53, 12.63)
CIE-LCHlch(28.10, 29.38, 154.55°)
OKLaboklab(37.1% -0.0718 0.0317)
OKLCHoklch(37.1% 0.079 156.2)
XYZxyz(3.3267, 5.4944, 3.4694)
Luminance0.0549 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124C2E #4C1230
analogous
#134C12 #124C2E #124C4B
triadic
#124C2E #2E124C #4C2E12
tetradic
#124C2E #12134C #4C1230 #4C4B12
square
#124C2E #12134C #4C1230 #4C4B12
split-complementary
#124C2E #4B124C #4C1213
monochromatic
#06190F #061B10 #124C2E #1E7D4C #29AF6A

Accessibility & contrast

On white

10.00
#124C2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#124C2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124C2E
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124C2E#FFFFFF#000000##FFFFFF
##124C2E1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C452C
Deuteranopia (green-blind)
#444030
Tritanopia (blue-blind)
#004B44
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #124c2e;
/* rgb */ color: rgb(18, 76, 46);
/* oklch */ color: oklch(37.1% 0.079 156.2);
Tailwind
colors: {
  custom: {
    50: '#597f67',
    500: '#124c2e',
    950: '#000000',
  },
}
SCSS
$custom: #124c2e;
$custom-light: #597f67;
$custom-dark: #000000;
JSON
{
  "hex": "#124c2e",
  "rgb": {
    "r": 18,
    "g": 76,
    "b": 46
  },
  "hsl": {
    "h": 148.966,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37104,
    "c": 0.07852,
    "h": 156.2
  },
  "luminance": 0.05495
}

Semantic roles & 50–950 ramp

primary
#124C2E
secondary
#85355E
accent
#4397E5
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #124C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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