#124F1B#124F1B

#124F1B is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.7% C 0.103 H 145.4°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#124F1B
RGBrgb(18, 79, 27)
HSLhsl(129, 63%, 19%)
HSVhsv(129, 77%, 31%)
CMYKcmyk(77.2%, 0%, 65.8%, 69%)
CIE-LABlab(28.90, -31.37, 24.77)
CIE-LCHlch(28.90, 39.97, 141.70°)
OKLaboklab(37.66% -0.0847 0.0584)
OKLCHoklch(37.66% 0.103 145.4)
XYZxyz(3.2430, 5.7993, 1.9852)
Luminance0.0580 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124F1B #4F1246
analogous
#284F12 #124F1B #124F3A
triadic
#124F1B #1B124F #4F1B12
tetradic
#124F1B #12284F #4F1246 #4F3A12
square
#124F1B #12284F #4F1246 #4F3A12
split-complementary
#124F1B #3A124F #4F1228
monochromatic
#061909 #071D0A #124F1B #1D812C #29B33D

Accessibility & contrast

On white

9.72
#124F1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#124F1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124F1B
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124F1B#FFFFFF#000000##FFFFFF
##124F1B1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504715
Deuteranopia (green-blind)
#49421F
Tritanopia (blue-blind)
#004D44
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #124f1b;
/* rgb */ color: rgb(18, 79, 27);
/* oklch */ color: oklch(37.7% 0.103 145.4);
Tailwind
colors: {
  custom: {
    50: '#5a8159',
    500: '#124f1b',
    950: '#000000',
  },
}
SCSS
$custom: #124f1b;
$custom-light: #5a8159;
$custom-dark: #000000;
JSON
{
  "hex": "#124f1b",
  "rgb": {
    "r": 18,
    "g": 79,
    "b": 27
  },
  "hsl": {
    "h": 128.852,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.37664,
    "c": 0.10285,
    "h": 145.4
  },
  "luminance": 0.058
}

Semantic roles & 50–950 ramp

primary
#124F1B
secondary
#88357C
accent
#42CEE6
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #124F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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