#124B1C#124B1C

#124B1C is a dark, moderate green. Relative luminance 0.052; OKLCH L 36.4% C 0.096 H 146.2°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#124B1C
RGBrgb(18, 75, 28)
HSLhsl(131, 61%, 18%)
HSVhsv(131, 76%, 29%)
CMYKcmyk(76%, 0%, 62.7%, 70.6%)
CIE-LABlab(27.42, -29.58, 22.50)
CIE-LCHlch(27.42, 37.17, 142.74°)
OKLaboklab(36.44% -0.0798 0.0535)
OKLCHoklch(36.44% 0.096 146.2)
XYZxyz(2.9749, 5.2443, 1.9538)
Luminance0.0524 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124B1C #4B1241
analogous
#244B12 #124B1C #124B38
triadic
#124B1C #1C124B #4B1C12
tetradic
#124B1C #12244B #4B1241 #4B3812
square
#124B1C #12244B #4B1241 #4B3812
split-complementary
#124B1C #38124B #4B1224
monochromatic
#061909 #061A0A #124B1C #1E7C2E #2AAE41

Accessibility & contrast

On white

10.25
#124B1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#124B1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124B1C
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124B1C#FFFFFF#000000##FFFFFF
##124B1C1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4417
Deuteranopia (green-blind)
#453F20
Tritanopia (blue-blind)
#004941
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #124b1c;
/* rgb */ color: rgb(18, 75, 28);
/* oklch */ color: oklch(36.4% 0.096 146.2);
Tailwind
colors: {
  custom: {
    50: '#597e5a',
    500: '#124b1c',
    950: '#000000',
  },
}
SCSS
$custom: #124b1c;
$custom-light: #597e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#124b1c",
  "rgb": {
    "r": 18,
    "g": 75,
    "b": 28
  },
  "hsl": {
    "h": 130.526,
    "s": 61.29,
    "l": 18.235
  },
  "oklch": {
    "l": 0.36443,
    "c": 0.0961,
    "h": 146.2
  },
  "luminance": 0.05245
}

Semantic roles & 50–950 ramp

primary
#124B1C
secondary
#843576
accent
#43C8E4
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #124B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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