#124D11#124D11

#124D11 is a dark, moderate green. Relative luminance 0.055; OKLCH L 36.9% C 0.108 H 142.8°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#124D11
RGBrgb(18, 77, 17)
HSLhsl(119, 64%, 18%)
HSVhsv(119, 78%, 30%)
CMYKcmyk(76.6%, 0%, 77.9%, 69.8%)
CIE-LABlab(28.05, -31.79, 28.78)
CIE-LCHlch(28.05, 42.88, 137.85°)
OKLaboklab(36.93% -0.0864 0.0656)
OKLCHoklch(36.93% 0.108 142.8)
XYZxyz(3.0043, 5.4765, 1.4289)
Luminance0.0548 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124D11 #4C114D
analogous
#304D11 #124D11 #114D2E
triadic
#124D11 #11124D #4D1112
tetradic
#124D11 #11304D #4C114D #4D2E11
square
#124D11 #11304D #4C114D #4D2E11
split-complementary
#124D11 #2E114D #4D1130
monochromatic
#061906 #061B06 #124D11 #1E7F1C #29B127

Accessibility & contrast

On white

10.02
#124D11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#124D11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124D11
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124D11#FFFFFF#000000##FFFFFF
##124D111.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4508
Deuteranopia (green-blind)
#484017
Tritanopia (blue-blind)
#034B41
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #124d11;
/* rgb */ color: rgb(18, 77, 17);
/* oklch */ color: oklch(36.9% 0.108 142.8);
Tailwind
colors: {
  custom: {
    50: '#5a7f53',
    500: '#124d11',
    950: '#000000',
  },
}
SCSS
$custom: #124d11;
$custom-light: #5a7f53;
$custom-dark: #000000;
JSON
{
  "hex": "#124d11",
  "rgb": {
    "r": 18,
    "g": 77,
    "b": 17
  },
  "hsl": {
    "h": 119,
    "s": 63.83,
    "l": 18.431
  },
  "oklch": {
    "l": 0.36928,
    "c": 0.10844,
    "h": 142.8
  },
  "luminance": 0.05477
}

Semantic roles & 50–950 ramp

primary
#124D11
secondary
#853386
accent
#41E7E4
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #124D11

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

Preview Lab → · Contrast checker → · Palette generator →

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