#124C28#124C28

#124C28 is a dark, moderate green. Relative luminance 0.055; OKLCH L 37.0% C 0.085 H 152.0°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#124C28
RGBrgb(18, 76, 40)
HSLhsl(143, 62%, 18%)
HSVhsv(143, 76%, 30%)
CMYKcmyk(76.3%, 0%, 47.4%, 70.2%)
CIE-LABlab(27.98, -27.84, 16.17)
CIE-LCHlch(27.98, 32.20, 149.85°)
OKLaboklab(36.97% -0.075 0.04)
OKLCHoklch(36.97% 0.085 152)
XYZxyz(3.2166, 5.4503, 2.8896)
Luminance0.0545 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124C28 #4C1236
analogous
#194C12 #124C28 #124C45
triadic
#124C28 #28124C #4C2812
tetradic
#124C28 #12194C #4C1236 #4C4512
square
#124C28 #12194C #4C1236 #4C4512
split-complementary
#124C28 #45124C #4C1219
monochromatic
#06190D #061B0E #124C28 #1E7D42 #29AF5C

Accessibility & contrast

On white

10.05
#124C28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#124C28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124C28
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124C28#FFFFFF#000000##FFFFFF
##124C281.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4525
Deuteranopia (green-blind)
#45402A
Tritanopia (blue-blind)
#004B43
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #124c28;
/* rgb */ color: rgb(18, 76, 40);
/* oklch */ color: oklch(37.0% 0.085 152.0);
Tailwind
colors: {
  custom: {
    50: '#597f62',
    500: '#124c28',
    950: '#000000',
  },
}
SCSS
$custom: #124c28;
$custom-light: #597f62;
$custom-dark: #000000;
JSON
{
  "hex": "#124c28",
  "rgb": {
    "r": 18,
    "g": 76,
    "b": 40
  },
  "hsl": {
    "h": 142.759,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.36968,
    "c": 0.08503,
    "h": 152
  },
  "luminance": 0.05451
}

Semantic roles & 50–950 ramp

primary
#124C28
secondary
#853567
accent
#43A7E5
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040A05
muted
#797C79

Preview Lab

Preview with #124C28

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

Preview Lab → · Contrast checker → · Palette generator →

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