#124F2C#124F2C

#124F2C is a dark, moderate green. Relative luminance 0.059; OKLCH L 38.0% C 0.085 H 153.6°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#124F2C
RGBrgb(18, 79, 44)
HSLhsl(146, 63%, 19%)
HSVhsv(146, 77%, 31%)
CMYKcmyk(77.2%, 0%, 44.3%, 69%)
CIE-LABlab(29.16, -28.33, 15.28)
CIE-LCHlch(29.16, 32.19, 151.66°)
OKLaboklab(37.97% -0.0764 0.038)
OKLCHoklch(37.97% 0.085 153.6)
XYZxyz(3.4997, 5.9020, 3.3371)
Luminance0.0590 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124F2C #4F1235
analogous
#174F12 #124F2C #124F4B
triadic
#124F2C #2C124F #4F2C12
tetradic
#124F2C #12174F #4F1235 #4F4B12
square
#124F2C #12174F #4F1235 #4F4B12
split-complementary
#124F2C #4B124F #4F1217
monochromatic
#06190E #071D10 #124F2C #1D8148 #29B364

Accessibility & contrast

On white

9.63
#124F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#124F2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124F2C
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124F2C#FFFFFF#000000##FFFFFF
##124F2C1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F482A
Deuteranopia (green-blind)
#47432E
Tritanopia (blue-blind)
#004E46
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #124f2c;
/* rgb */ color: rgb(18, 79, 44);
/* oklch */ color: oklch(38.0% 0.085 153.6);
Tailwind
colors: {
  custom: {
    50: '#5a8165',
    500: '#124f2c',
    950: '#000000',
  },
}
SCSS
$custom: #124f2c;
$custom-light: #5a8165;
$custom-dark: #000000;
JSON
{
  "hex": "#124f2c",
  "rgb": {
    "r": 18,
    "g": 79,
    "b": 44
  },
  "hsl": {
    "h": 145.574,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.37968,
    "c": 0.08534,
    "h": 153.6
  },
  "luminance": 0.05902
}

Semantic roles & 50–950 ramp

primary
#124F2C
secondary
#883565
accent
#42A0E6
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A05
muted
#797C7A

Preview Lab

Preview with #124F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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