#124C2D#124C2D

#124C2D is a dark, moderate green. Relative luminance 0.055; OKLCH L 37.1% C 0.080 H 155.4°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#124C2D
RGBrgb(18, 76, 45)
HSLhsl(148, 62%, 18%)
HSVhsv(148, 76%, 30%)
CMYKcmyk(76.3%, 0%, 40.8%, 70.2%)
CIE-LABlab(28.08, -26.76, 13.22)
CIE-LCHlch(28.08, 29.85, 153.70°)
OKLaboklab(37.08% -0.0724 0.0331)
OKLCHoklch(37.08% 0.08 155.4)
XYZxyz(3.3072, 5.4866, 3.3668)
Luminance0.0549 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124C2D #4C1231
analogous
#144C12 #124C2D #124C4A
triadic
#124C2D #2D124C #4C2D12
tetradic
#124C2D #12144C #4C1231 #4C4A12
square
#124C2D #12144C #4C1231 #4C4A12
split-complementary
#124C2D #4A124C #4C1214
monochromatic
#06190F #061B10 #124C2D #1E7D4A #29AF68

Accessibility & contrast

On white

10.01
#124C2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#124C2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124C2D
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124C2D#FFFFFF#000000##FFFFFF
##124C2D1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C452B
Deuteranopia (green-blind)
#44402F
Tritanopia (blue-blind)
#004B44
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #124c2d;
/* rgb */ color: rgb(18, 76, 45);
/* oklch */ color: oklch(37.1% 0.080 155.4);
Tailwind
colors: {
  custom: {
    50: '#597f66',
    500: '#124c2d',
    950: '#000000',
  },
}
SCSS
$custom: #124c2d;
$custom-light: #597f66;
$custom-dark: #000000;
JSON
{
  "hex": "#124c2d",
  "rgb": {
    "r": 18,
    "g": 76,
    "b": 45
  },
  "hsl": {
    "h": 147.931,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.3708,
    "c": 0.07959,
    "h": 155.4
  },
  "luminance": 0.05487
}

Semantic roles & 50–950 ramp

primary
#124C2D
secondary
#853560
accent
#4399E5
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #124C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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