#124C1B#124C1B

#124C1B is a dark, moderate green. Relative luminance 0.054; OKLCH L 36.7% C 0.099 H 145.7°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#124C1B
RGBrgb(18, 76, 27)
HSLhsl(129, 62%, 18%)
HSVhsv(129, 76%, 30%)
CMYKcmyk(76.3%, 0%, 64.5%, 70.2%)
CIE-LABlab(27.78, -30.15, 23.48)
CIE-LCHlch(27.78, 38.21, 142.09°)
OKLaboklab(36.74% -0.0814 0.0555)
OKLCHoklch(36.74% 0.099 145.7)
XYZxyz(3.0315, 5.3763, 1.9147)
Luminance0.0538 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124C1B #4C1243
analogous
#264C12 #124C1B #124C38
triadic
#124C1B #1B124C #4C1B12
tetradic
#124C1B #12264C #4C1243 #4C3812
square
#124C1B #12264C #4C1243 #4C3812
split-complementary
#124C1B #38124C #4C1226
monochromatic
#061909 #061B09 #124C1B #1E7D2D #29AF3E

Accessibility & contrast

On white

10.12
#124C1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#124C1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124C1B
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124C1B#FFFFFF#000000##FFFFFF
##124C1B1.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4416
Deuteranopia (green-blind)
#46401F
Tritanopia (blue-blind)
#004A41
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #124c1b;
/* rgb */ color: rgb(18, 76, 27);
/* oklch */ color: oklch(36.7% 0.099 145.7);
Tailwind
colors: {
  custom: {
    50: '#5a7f59',
    500: '#124c1b',
    950: '#000000',
  },
}
SCSS
$custom: #124c1b;
$custom-light: #5a7f59;
$custom-dark: #000000;
JSON
{
  "hex": "#124c1b",
  "rgb": {
    "r": 18,
    "g": 76,
    "b": 27
  },
  "hsl": {
    "h": 129.31,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.36738,
    "c": 0.09853,
    "h": 145.7
  },
  "luminance": 0.05377
}

Semantic roles & 50–950 ramp

primary
#124C1B
secondary
#853579
accent
#43CCE5
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #124C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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