#124C26#124C26

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

Color values

HEX#124C26
RGBrgb(18, 76, 38)
HSLhsl(141, 62%, 18%)
HSVhsv(141, 76%, 30%)
CMYKcmyk(76.3%, 0%, 50%, 70.2%)
CIE-LABlab(27.95, -28.25, 17.34)
CIE-LCHlch(27.95, 33.14, 148.46°)
OKLaboklab(36.93% -0.0761 0.0426)
OKLCHoklch(36.93% 0.087 150.8)
XYZxyz(3.1835, 5.4371, 2.7150)
Luminance0.0544 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124C26 #4C1238
analogous
#1B4C12 #124C26 #124C43
triadic
#124C26 #26124C #4C2612
tetradic
#124C26 #121B4C #4C1238 #4C4312
square
#124C26 #121B4C #4C1238 #4C4312
split-complementary
#124C26 #43124C #4C121B
monochromatic
#06190C #061B0D #124C26 #1E7D3F #29AF57

Accessibility & contrast

On white

10.06
#124C26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124C26
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124C26#FFFFFF#000000##FFFFFF
##124C261.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4523
Deuteranopia (green-blind)
#454029
Tritanopia (blue-blind)
#004B43
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #124c26;
/* rgb */ color: rgb(18, 76, 38);
/* oklch */ color: oklch(36.9% 0.087 150.8);
Tailwind
colors: {
  custom: {
    50: '#597f61',
    500: '#124c26',
    950: '#000000',
  },
}
SCSS
$custom: #124c26;
$custom-light: #597f61;
$custom-dark: #000000;
JSON
{
  "hex": "#124c26",
  "rgb": {
    "r": 18,
    "g": 76,
    "b": 38
  },
  "hsl": {
    "h": 140.69,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.36927,
    "c": 0.0872,
    "h": 150.8
  },
  "luminance": 0.05437
}

Semantic roles & 50–950 ramp

primary
#124C26
secondary
#853569
accent
#43ADE5
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A05
muted
#797C79

Preview Lab

Preview with #124C26

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

Preview Lab → · Contrast checker → · Palette generator →

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