#124E0B#124E0B

#124E0B is a dark, moderate green. Relative luminance 0.056; OKLCH L 37.2% C 0.114 H 141.7°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#124E0B
RGBrgb(18, 78, 11)
HSLhsl(114, 75%, 17%)
HSVhsv(114, 86%, 31%)
CMYKcmyk(76.9%, 0%, 85.9%, 69.4%)
CIE-LABlab(28.38, -32.70, 31.55)
CIE-LCHlch(28.38, 45.44, 136.02°)
OKLaboklab(37.19% -0.0892 0.0705)
OKLCHoklch(37.19% 0.114 141.7)
XYZxyz(3.0341, 5.6012, 1.2378)
Luminance0.0560 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124E0B #470B4E
analogous
#344E0B #124E0B #0B4E25
triadic
#124E0B #0B124E #4E0B12
tetradic
#124E0B #0B344E #470B4E #4E250B
square
#124E0B #0B344E #470B4E #4E250B
split-complementary
#124E0B #250B4E #4E0B34
monochromatic
#061B04 #061B04 #124E0B #1E8413 #2BB91A

Accessibility & contrast

On white

9.90
#124E0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#124E0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124E0B
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124E0B#FFFFFF#000000##FFFFFF
##124E0B1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504600
Deuteranopia (green-blind)
#494113
Tritanopia (blue-blind)
#044B42
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #124e0b;
/* rgb */ color: rgb(18, 78, 11);
/* oklch */ color: oklch(37.2% 0.114 141.7);
Tailwind
colors: {
  custom: {
    50: '#5b8050',
    500: '#124e0b',
    950: '#000000',
  },
}
SCSS
$custom: #124e0b;
$custom-light: #5b8050;
$custom-dark: #000000;
JSON
{
  "hex": "#124e0b",
  "rgb": {
    "r": 18,
    "g": 78,
    "b": 11
  },
  "hsl": {
    "h": 113.731,
    "s": 75.281,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37189,
    "c": 0.11364,
    "h": 141.7
  },
  "luminance": 0.05602
}

Semantic roles & 50–950 ramp

primary
#124E0B
secondary
#802B8A
accent
#36F2DE
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #124E0B

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

Preview Lab → · Contrast checker → · Palette generator →

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