#124B0D#124B0D

#124B0D is a dark, moderate green. Relative luminance 0.052; OKLCH L 36.3% C 0.109 H 142.0°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#124B0D
RGBrgb(18, 75, 13)
HSLhsl(115, 70%, 17%)
HSVhsv(115, 83%, 29%)
CMYKcmyk(76%, 0%, 82.7%, 70.6%)
CIE-LABlab(27.27, -31.38, 29.69)
CIE-LCHlch(27.27, 43.20, 136.59°)
OKLaboklab(36.27% -0.0855 0.0669)
OKLCHoklch(36.27% 0.109 142)
XYZxyz(2.8380, 5.1895, 1.2328)
Luminance0.0519 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124B0D #460D4B
analogous
#314B0D #124B0D #0D4B27
triadic
#124B0D #0D124B #4B0D12
tetradic
#124B0D #0D314B #460D4B #4B270D
square
#124B0D #0D314B #460D4B #4B270D
split-complementary
#124B0D #270D4B #4B0D31
monochromatic
#061A05 #061A05 #124B0D #1F7F16 #2BB31F

Accessibility & contrast

On white

10.30
#124B0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#124B0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124B0D
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124B0D#FFFFFF#000000##FFFFFF
##124B0D1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4303
Deuteranopia (green-blind)
#463F14
Tritanopia (blue-blind)
#05483F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #124b0d;
/* rgb */ color: rgb(18, 75, 13);
/* oklch */ color: oklch(36.3% 0.109 142.0);
Tailwind
colors: {
  custom: {
    50: '#5a7e51',
    500: '#124b0d',
    950: '#000000',
  },
}
SCSS
$custom: #124b0d;
$custom-light: #5a7e51;
$custom-dark: #000000;
JSON
{
  "hex": "#124b0d",
  "rgb": {
    "r": 18,
    "g": 75,
    "b": 13
  },
  "hsl": {
    "h": 115.161,
    "s": 70.455,
    "l": 17.255
  },
  "oklch": {
    "l": 0.36268,
    "c": 0.10856,
    "h": 142
  },
  "luminance": 0.0519
}

Semantic roles & 50–950 ramp

primary
#124B0D
secondary
#7F2E86
accent
#3BEDDF
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #124B0D

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

Preview Lab → · Contrast checker → · Palette generator →

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