#124D2E#124D2E

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

Color values

HEX#124D2E
RGBrgb(18, 77, 46)
HSLhsl(148, 62%, 19%)
HSVhsv(148, 77%, 30%)
CMYKcmyk(76.6%, 0%, 40.3%, 69.8%)
CIE-LABlab(28.47, -26.99, 13.12)
CIE-LCHlch(28.47, 30.01, 154.07°)
OKLaboklab(37.41% -0.073 0.0329)
OKLCHoklch(37.41% 0.08 155.7)
XYZxyz(3.3962, 5.6332, 3.4926)
Luminance0.0563 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124D2E #4D1231
analogous
#134D12 #124D2E #124D4B
triadic
#124D2E #2E124D #4D2E12
tetradic
#124D2E #12134D #4D1231 #4D4B12
square
#124D2E #12134D #4D1231 #4D4B12
split-complementary
#124D2E #4B124D #4D1213
monochromatic
#06190F #061B10 #124D2E #1E7F4C #29B069

Accessibility & contrast

On white

9.87
#124D2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124D2E
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124D2E#FFFFFF#000000##FFFFFF
##124D2E1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D462C
Deuteranopia (green-blind)
#454130
Tritanopia (blue-blind)
#004C45
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #124d2e;
/* rgb */ color: rgb(18, 77, 46);
/* oklch */ color: oklch(37.4% 0.080 155.7);
Tailwind
colors: {
  custom: {
    50: '#597f67',
    500: '#124d2e',
    950: '#000000',
  },
}
SCSS
$custom: #124d2e;
$custom-light: #597f67;
$custom-dark: #000000;
JSON
{
  "hex": "#124d2e",
  "rgb": {
    "r": 18,
    "g": 77,
    "b": 46
  },
  "hsl": {
    "h": 148.475,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37407,
    "c": 0.08008,
    "h": 155.7
  },
  "luminance": 0.05634
}

Semantic roles & 50–950 ramp

primary
#124D2E
secondary
#86355F
accent
#4398E5
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #124D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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