#124C20#124C20

#124C20 is a dark, moderate green. Relative luminance 0.054; OKLCH L 36.8% C 0.094 H 147.7°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#124C20
RGBrgb(18, 76, 32)
HSLhsl(134, 62%, 18%)
HSVhsv(134, 76%, 30%)
CMYKcmyk(76.3%, 0%, 57.9%, 70.2%)
CIE-LABlab(27.85, -29.35, 20.75)
CIE-LCHlch(27.85, 35.95, 144.73°)
OKLaboklab(36.82% -0.0791 0.05)
OKLCHoklch(36.82% 0.094 147.7)
XYZxyz(3.0944, 5.4014, 2.2457)
Luminance0.0540 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124C20 #4C123E
analogous
#214C12 #124C20 #124C3D
triadic
#124C20 #20124C #4C2012
tetradic
#124C20 #12214C #4C123E #4C3D12
square
#124C20 #12214C #4C123E #4C3D12
split-complementary
#124C20 #3D124C #4C1221
monochromatic
#06190A #061B0B #124C20 #1E7D35 #29AF4A

Accessibility & contrast

On white

10.09
#124C20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#124C20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124C20
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124C20#FFFFFF#000000##FFFFFF
##124C201.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D451C
Deuteranopia (green-blind)
#464023
Tritanopia (blue-blind)
#004A42
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #124c20;
/* rgb */ color: rgb(18, 76, 32);
/* oklch */ color: oklch(36.8% 0.094 147.7);
Tailwind
colors: {
  custom: {
    50: '#597f5c',
    500: '#124c20',
    950: '#000000',
  },
}
SCSS
$custom: #124c20;
$custom-light: #597f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#124c20",
  "rgb": {
    "r": 18,
    "g": 76,
    "b": 32
  },
  "hsl": {
    "h": 134.483,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.36816,
    "c": 0.09355,
    "h": 147.7
  },
  "luminance": 0.05402
}

Semantic roles & 50–950 ramp

primary
#124C20
secondary
#853572
accent
#43BEE5
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #124C20

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

Preview Lab → · Contrast checker → · Palette generator →

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