#124D2A#124D2A

#124D2A is a dark, moderate green. Relative luminance 0.056; OKLCH L 37.3% C 0.084 H 152.9°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#124D2A
RGBrgb(18, 77, 42)
HSLhsl(144, 62%, 19%)
HSVhsv(144, 77%, 30%)
CMYKcmyk(76.6%, 0%, 45.5%, 69.8%)
CIE-LABlab(28.39, -27.87, 15.48)
CIE-LCHlch(28.39, 31.88, 150.94°)
OKLaboklab(37.32% -0.0752 0.0384)
OKLCHoklch(37.32% 0.084 152.9)
XYZxyz(3.3210, 5.6032, 3.0965)
Luminance0.0560 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124D2A #4D1235
analogous
#174D12 #124D2A #124D47
triadic
#124D2A #2A124D #4D2A12
tetradic
#124D2A #12174D #4D1235 #4D4712
square
#124D2A #12174D #4D1235 #4D4712
split-complementary
#124D2A #47124D #4D1217
monochromatic
#06190E #061B0F #124D2A #1E7F45 #29B060

Accessibility & contrast

On white

9.90
#124D2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#124D2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124D2A
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124D2A#FFFFFF#000000##FFFFFF
##124D2A1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4628
Deuteranopia (green-blind)
#46412C
Tritanopia (blue-blind)
#004C44
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #124d2a;
/* rgb */ color: rgb(18, 77, 42);
/* oklch */ color: oklch(37.3% 0.084 152.9);
Tailwind
colors: {
  custom: {
    50: '#597f64',
    500: '#124d2a',
    950: '#000000',
  },
}
SCSS
$custom: #124d2a;
$custom-light: #597f64;
$custom-dark: #000000;
JSON
{
  "hex": "#124d2a",
  "rgb": {
    "r": 18,
    "g": 77,
    "b": 42
  },
  "hsl": {
    "h": 144.407,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37316,
    "c": 0.08441,
    "h": 152.9
  },
  "luminance": 0.05604
}

Semantic roles & 50–950 ramp

primary
#124D2A
secondary
#863565
accent
#43A3E5
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040A05
muted
#797C79

Preview Lab

Preview with #124D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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