#124A2D#124A2D

#124A2D is a dark, moderate green. Relative luminance 0.052; OKLCH L 36.5% C 0.076 H 156.3°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#124A2D
RGBrgb(18, 74, 45)
HSLhsl(149, 61%, 18%)
HSVhsv(149, 76%, 29%)
CMYKcmyk(75.7%, 0%, 39.2%, 71%)
CIE-LABlab(27.34, -25.84, 12.23)
CIE-LCHlch(27.34, 28.59, 154.67°)
OKLaboklab(36.47% -0.07 0.0307)
OKLCHoklch(36.47% 0.076 156.3)
XYZxyz(3.1716, 5.2153, 3.3216)
Luminance0.0522 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124A2D #4A122F
analogous
#134A12 #124A2D #124A49
triadic
#124A2D #2D124A #4A2D12
tetradic
#124A2D #12134A #4A122F #4A4912
square
#124A2D #12134A #4A122F #4A4912
split-complementary
#124A2D #49124A #4A1213
monochromatic
#06190F #06190F #124A2D #1E7B4B #2AAC69

Accessibility & contrast

On white

10.28
#124A2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124A2D
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124A2D#FFFFFF#000000##FFFFFF
##124A2D1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A442B
Deuteranopia (green-blind)
#423F2F
Tritanopia (blue-blind)
#004943
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #124a2d;
/* rgb */ color: rgb(18, 74, 45);
/* oklch */ color: oklch(36.5% 0.076 156.3);
Tailwind
colors: {
  custom: {
    50: '#587d66',
    500: '#124a2d',
    950: '#000000',
  },
}
SCSS
$custom: #124a2d;
$custom-light: #587d66;
$custom-dark: #000000;
JSON
{
  "hex": "#124a2d",
  "rgb": {
    "r": 18,
    "g": 74,
    "b": 45
  },
  "hsl": {
    "h": 148.929,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.36472,
    "c": 0.07644,
    "h": 156.3
  },
  "luminance": 0.05216
}

Semantic roles & 50–950 ramp

primary
#124A2D
secondary
#83355D
accent
#4497E4
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040906
muted
#797B7A

Preview Lab

Preview with #124A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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