#124C22#124C22

#124C22 is a dark, moderate green. Relative luminance 0.054; OKLCH L 36.9% C 0.091 H 148.7°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#124C22
RGBrgb(18, 76, 34)
HSLhsl(137, 62%, 18%)
HSVhsv(137, 76%, 30%)
CMYKcmyk(76.3%, 0%, 55.3%, 70.2%)
CIE-LABlab(27.88, -29.00, 19.63)
CIE-LCHlch(27.88, 35.02, 145.91°)
OKLaboklab(36.85% -0.0781 0.0476)
OKLCHoklch(36.85% 0.091 148.7)
XYZxyz(3.1224, 5.4126, 2.3933)
Luminance0.0541 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124C22 #4C123C
analogous
#1F4C12 #124C22 #124C3F
triadic
#124C22 #22124C #4C2212
tetradic
#124C22 #121F4C #4C123C #4C3F12
square
#124C22 #121F4C #4C123C #4C3F12
split-complementary
#124C22 #3F124C #4C121F
monochromatic
#06190B #061B0C #124C22 #1E7D38 #29AF4E

Accessibility & contrast

On white

10.08
#124C22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124C22
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124C22#FFFFFF#000000##FFFFFF
##124C221.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #124c22;
/* rgb */ color: rgb(18, 76, 34);
/* oklch */ color: oklch(36.9% 0.091 148.7);
Tailwind
colors: {
  custom: {
    50: '#597f5e',
    500: '#124c22',
    950: '#000000',
  },
}
SCSS
$custom: #124c22;
$custom-light: #597f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#124c22",
  "rgb": {
    "r": 18,
    "g": 76,
    "b": 34
  },
  "hsl": {
    "h": 136.552,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.36851,
    "c": 0.09147,
    "h": 148.7
  },
  "luminance": 0.05413
}

Semantic roles & 50–950 ramp

primary
#124C22
secondary
#85356F
accent
#43B8E5
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #124C22

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

Preview Lab → · Contrast checker → · Palette generator →

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