#124E0E#124E0E

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

Color values

HEX#124E0E
RGBrgb(18, 78, 14)
HSLhsl(116, 70%, 18%)
HSVhsv(116, 82%, 31%)
CMYKcmyk(76.9%, 0%, 82.1%, 69.4%)
CIE-LABlab(28.40, -32.46, 30.42)
CIE-LCHlch(28.40, 44.48, 136.86°)
OKLaboklab(37.21% -0.0883 0.0686)
OKLCHoklch(37.21% 0.112 142.2)
XYZxyz(3.0529, 5.6088, 1.3371)
Luminance0.0561 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124E0E #4A0E4E
analogous
#324E0E #124E0E #0E4E2A
triadic
#124E0E #0E124E #4E0E12
tetradic
#124E0E #0E324E #4A0E4E #4E2A0E
square
#124E0E #0E324E #4A0E4E #4E2A0E
split-complementary
#124E0E #2A0E4E #4E0E32
monochromatic
#061A05 #061A05 #124E0E #1E8217 #2AB621

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##124E0E#FFFFFF#000000##FFFFFF
##124E0E1.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)
#504603
Deuteranopia (green-blind)
#494115
Tritanopia (blue-blind)
#034B42
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #124e0e;
/* rgb */ color: rgb(18, 78, 14);
/* oklch */ color: oklch(37.2% 0.112 142.2);
Tailwind
colors: {
  custom: {
    50: '#5b8051',
    500: '#124e0e',
    950: '#000000',
  },
}
SCSS
$custom: #124e0e;
$custom-light: #5b8051;
$custom-dark: #000000;
JSON
{
  "hex": "#124e0e",
  "rgb": {
    "r": 18,
    "g": 78,
    "b": 14
  },
  "hsl": {
    "h": 116.25,
    "s": 69.565,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37212,
    "c": 0.11183,
    "h": 142.2
  },
  "luminance": 0.05609
}

Semantic roles & 50–950 ramp

primary
#124E0E
secondary
#832F89
accent
#3BECE1
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #124E0E

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

Preview Lab → · Contrast checker → · Palette generator →

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