#124A0B#124A0B

#124A0B is a dark, moderate green. Relative luminance 0.051; OKLCH L 35.9% C 0.109 H 141.6°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#124A0B
RGBrgb(18, 74, 11)
HSLhsl(113, 74%, 17%)
HSVhsv(113, 85%, 29%)
CMYKcmyk(75.7%, 0%, 85.1%, 71%)
CIE-LABlab(26.88, -31.16, 30.10)
CIE-LCHlch(26.88, 43.32, 135.99°)
OKLaboklab(35.94% -0.085 0.0674)
OKLCHoklch(35.94% 0.109 141.6)
XYZxyz(2.7585, 5.0500, 1.1459)
Luminance0.0505 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124A0B #430B4A
analogous
#324A0B #124A0B #0B4A24
triadic
#124A0B #0B124A #4A0B12
tetradic
#124A0B #0B324A #430B4A #4A240B
square
#124A0B #0B324A #430B4A #4A240B
split-complementary
#124A0B #240B4A #4A0B32
monochromatic
#061B04 #061B04 #124A0B #1F7F13 #2CB51B

Accessibility & contrast

On white

10.45
#124A0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#124A0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124A0B
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124A0B#FFFFFF#000000##FFFFFF
##124A0B1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4201
Deuteranopia (green-blind)
#463E12
Tritanopia (blue-blind)
#06473E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #124a0b;
/* rgb */ color: rgb(18, 74, 11);
/* oklch */ color: oklch(35.9% 0.109 141.6);
Tailwind
colors: {
  custom: {
    50: '#5a7d4f',
    500: '#124a0b',
    950: '#000000',
  },
}
SCSS
$custom: #124a0b;
$custom-light: #5a7d4f;
$custom-dark: #000000;
JSON
{
  "hex": "#124a0b",
  "rgb": {
    "r": 18,
    "g": 74,
    "b": 11
  },
  "hsl": {
    "h": 113.333,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.3594,
    "c": 0.10851,
    "h": 141.6
  },
  "luminance": 0.0505
}

Semantic roles & 50–950 ramp

primary
#124A0B
secondary
#7C2B86
accent
#37F1DC
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #124A0B

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

Preview Lab → · Contrast checker → · Palette generator →

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