#124F0F#124F0F

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

Color values

HEX#124F0F
RGBrgb(18, 79, 15)
HSLhsl(117, 68%, 18%)
HSVhsv(117, 81%, 31%)
CMYKcmyk(77.2%, 0%, 81%, 69%)
CIE-LABlab(28.79, -32.75, 30.39)
CIE-LCHlch(28.79, 44.67, 137.14°)
OKLaboklab(37.53% -0.0891 0.0687)
OKLCHoklch(37.53% 0.112 142.4)
XYZxyz(3.1315, 5.7547, 1.3976)
Luminance0.0575 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124F0F #4C0F4F
analogous
#324F0F #124F0F #0F4F2C
triadic
#124F0F #0F124F #4F0F12
tetradic
#124F0F #0F324F #4C0F4F #4F2C0F
square
#124F0F #0F324F #4C0F4F #4F2C0F
split-complementary
#124F0F #2C0F4F #4F0F32
monochromatic
#061A05 #061C05 #124F0F #1E8219 #29B623

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##124F0F#FFFFFF#000000##FFFFFF
##124F0F1.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)
#514704
Deuteranopia (green-blind)
#4A4216
Tritanopia (blue-blind)
#024C43
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #124f0f;
/* rgb */ color: rgb(18, 79, 15);
/* oklch */ color: oklch(37.5% 0.112 142.4);
Tailwind
colors: {
  custom: {
    50: '#5b8152',
    500: '#124f0f',
    950: '#000000',
  },
}
SCSS
$custom: #124f0f;
$custom-light: #5b8152;
$custom-dark: #000000;
JSON
{
  "hex": "#124f0f",
  "rgb": {
    "r": 18,
    "g": 79,
    "b": 15
  },
  "hsl": {
    "h": 117.188,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37532,
    "c": 0.11247,
    "h": 142.4
  },
  "luminance": 0.05755
}

Semantic roles & 50–950 ramp

primary
#124F0F
secondary
#853189
accent
#3DEBE3
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #124F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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