#124B0C#124B0C

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

Color values

HEX#124B0C
RGBrgb(18, 75, 12)
HSLhsl(114, 72%, 17%)
HSVhsv(114, 84%, 29%)
CMYKcmyk(76%, 0%, 84%, 70.6%)
CIE-LABlab(27.26, -31.47, 30.08)
CIE-LCHlch(27.26, 43.53, 136.29°)
OKLaboklab(36.26% -0.0858 0.0676)
OKLCHoklch(36.26% 0.109 141.8)
XYZxyz(2.8317, 5.1870, 1.1997)
Luminance0.0519 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124B0C #450C4B
analogous
#324B0C #124B0C #0C4B26
triadic
#124B0C #0C124B #4B0C12
tetradic
#124B0C #0C324B #450C4B #4B260C
square
#124B0C #0C324B #450C4B #4B260C
split-complementary
#124B0C #260C4B #4B0C32
monochromatic
#061A04 #061A04 #124B0C #1F8014 #2BB51D

Accessibility & contrast

On white

10.31
#124B0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124B0C
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124B0C#FFFFFF#000000##FFFFFF
##124B0C1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #124b0c;
/* rgb */ color: rgb(18, 75, 12);
/* oklch */ color: oklch(36.3% 0.109 141.8);
Tailwind
colors: {
  custom: {
    50: '#5a7e50',
    500: '#124b0c',
    950: '#000000',
  },
}
SCSS
$custom: #124b0c;
$custom-light: #5a7e50;
$custom-dark: #000000;
JSON
{
  "hex": "#124b0c",
  "rgb": {
    "r": 18,
    "g": 75,
    "b": 12
  },
  "hsl": {
    "h": 114.286,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.3626,
    "c": 0.10919,
    "h": 141.8
  },
  "luminance": 0.05187
}

Semantic roles & 50–950 ramp

primary
#124B0C
secondary
#7E2C87
accent
#39EFDE
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #124B0C

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

Preview Lab → · Contrast checker → · Palette generator →

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