#124F11#124F11

#124F11 is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.5% C 0.111 H 142.8°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#124F11
RGBrgb(18, 79, 17)
HSLhsl(119, 65%, 19%)
HSVhsv(119, 78%, 31%)
CMYKcmyk(77.2%, 0%, 78.5%, 69%)
CIE-LABlab(28.80, -32.56, 29.55)
CIE-LCHlch(28.80, 43.97, 137.77°)
OKLaboklab(37.55% -0.0885 0.0672)
OKLCHoklch(37.55% 0.111 142.8)
XYZxyz(3.1464, 5.7607, 1.4763)
Luminance0.0576 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124F11 #4E114F
analogous
#314F11 #124F11 #114F2F
triadic
#124F11 #11124F #4F1112
tetradic
#124F11 #11314F #4E114F #4F2F11
square
#124F11 #11314F #4E114F #4F2F11
split-complementary
#124F11 #2F114F #4F1131
monochromatic
#061905 #071D06 #124F11 #1D811C #29B427

Accessibility & contrast

On white

9.76
#124F11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#124F11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124F11
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124F11#FFFFFF#000000##FFFFFF
##124F111.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514707
Deuteranopia (green-blind)
#4A4217
Tritanopia (blue-blind)
#024C43
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #124f11;
/* rgb */ color: rgb(18, 79, 17);
/* oklch */ color: oklch(37.5% 0.111 142.8);
Tailwind
colors: {
  custom: {
    50: '#5b8153',
    500: '#124f11',
    950: '#000000',
  },
}
SCSS
$custom: #124f11;
$custom-light: #5b8153;
$custom-dark: #000000;
JSON
{
  "hex": "#124f11",
  "rgb": {
    "r": 18,
    "g": 79,
    "b": 17
  },
  "hsl": {
    "h": 119.032,
    "s": 64.583,
    "l": 18.824
  },
  "oklch": {
    "l": 0.37549,
    "c": 0.1111,
    "h": 142.8
  },
  "luminance": 0.05761
}

Semantic roles & 50–950 ramp

primary
#124F11
secondary
#873388
accent
#40E8E5
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A03
muted
#797C78

Preview Lab

Preview with #124F11

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

Preview Lab → · Contrast checker → · Palette generator →

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