#124A2B#124A2B

#124A2B is a dark, moderate green. Relative luminance 0.052; OKLCH L 36.4% C 0.079 H 154.7°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#124A2B
RGBrgb(18, 74, 43)
HSLhsl(147, 61%, 18%)
HSVhsv(147, 76%, 29%)
CMYKcmyk(75.7%, 0%, 41.9%, 71%)
CIE-LABlab(27.30, -26.29, 13.43)
CIE-LCHlch(27.30, 29.52, 152.95°)
OKLaboklab(36.42% -0.0711 0.0336)
OKLCHoklch(36.42% 0.079 154.7)
XYZxyz(3.1340, 5.2002, 3.1236)
Luminance0.0520 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124A2B #4A1231
analogous
#154A12 #124A2B #124A47
triadic
#124A2B #2B124A #4A2B12
tetradic
#124A2B #12154A #4A1231 #4A4712
square
#124A2B #12154A #4A1231 #4A4712
split-complementary
#124A2B #47124A #4A1215
monochromatic
#06190E #06190E #124A2B #1E7B48 #2AAC64

Accessibility & contrast

On white

10.29
#124A2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#124A2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124A2B
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124A2B#FFFFFF#000000##FFFFFF
##124A2B1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4329
Deuteranopia (green-blind)
#433E2D
Tritanopia (blue-blind)
#004942
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #124a2b;
/* rgb */ color: rgb(18, 74, 43);
/* oklch */ color: oklch(36.4% 0.079 154.7);
Tailwind
colors: {
  custom: {
    50: '#587d64',
    500: '#124a2b',
    950: '#000000',
  },
}
SCSS
$custom: #124a2b;
$custom-light: #587d64;
$custom-dark: #000000;
JSON
{
  "hex": "#124a2b",
  "rgb": {
    "r": 18,
    "g": 74,
    "b": 43
  },
  "hsl": {
    "h": 146.786,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.36424,
    "c": 0.07862,
    "h": 154.7
  },
  "luminance": 0.05201
}

Semantic roles & 50–950 ramp

primary
#124A2B
secondary
#833560
accent
#449CE4
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A05
muted
#797C7A

Preview Lab

Preview with #124A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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