#124D2D#124D2D

#124D2D is a dark, moderate green. Relative luminance 0.056; OKLCH L 37.4% C 0.081 H 155.0°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#124D2D
RGBrgb(18, 77, 45)
HSLhsl(147, 62%, 19%)
HSVhsv(147, 77%, 30%)
CMYKcmyk(76.6%, 0%, 41.6%, 69.8%)
CIE-LABlab(28.45, -27.21, 13.71)
CIE-LCHlch(28.45, 30.47, 153.25°)
OKLaboklab(37.38% -0.0735 0.0343)
OKLCHoklch(37.38% 0.081 155)
XYZxyz(3.3767, 5.6254, 3.3900)
Luminance0.0563 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124D2D #4D1232
analogous
#144D12 #124D2D #124D4A
triadic
#124D2D #2D124D #4D2D12
tetradic
#124D2D #12144D #4D1232 #4D4A12
square
#124D2D #12144D #4D1232 #4D4A12
split-complementary
#124D2D #4A124D #4D1214
monochromatic
#06190E #061B10 #124D2D #1E7F4A #29B067

Accessibility & contrast

On white

9.88
#124D2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#124D2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124D2D
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124D2D#FFFFFF#000000##FFFFFF
##124D2D1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D462B
Deuteranopia (green-blind)
#45412F
Tritanopia (blue-blind)
#004C45
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #124d2d;
/* rgb */ color: rgb(18, 77, 45);
/* oklch */ color: oklch(37.4% 0.081 155.0);
Tailwind
colors: {
  custom: {
    50: '#597f66',
    500: '#124d2d',
    950: '#000000',
  },
}
SCSS
$custom: #124d2d;
$custom-light: #597f66;
$custom-dark: #000000;
JSON
{
  "hex": "#124d2d",
  "rgb": {
    "r": 18,
    "g": 77,
    "b": 45
  },
  "hsl": {
    "h": 147.458,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37384,
    "c": 0.08115,
    "h": 155
  },
  "luminance": 0.05626
}

Semantic roles & 50–950 ramp

primary
#124D2D
secondary
#863561
accent
#439BE5
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #124D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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