#124C0B#124C0B

#124C0B is a dark, moderate green. Relative luminance 0.053; OKLCH L 36.6% C 0.111 H 141.6°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#124C0B
RGBrgb(18, 76, 11)
HSLhsl(114, 75%, 17%)
HSVhsv(114, 86%, 30%)
CMYKcmyk(76.3%, 0%, 85.5%, 70.2%)
CIE-LABlab(27.63, -31.93, 30.83)
CIE-LCHlch(27.63, 44.39, 136.01°)
OKLaboklab(36.57% -0.0871 0.069)
OKLCHoklch(36.57% 0.111 141.6)
XYZxyz(2.8941, 5.3213, 1.1911)
Luminance0.0532 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124C0B #450B4C
analogous
#334C0B #124C0B #0B4C24
triadic
#124C0B #0B124C #4C0B12
tetradic
#124C0B #0B334C #450B4C #4C240B
square
#124C0B #0B334C #450B4C #4C240B
split-complementary
#124C0B #240B4C #4C0B33
monochromatic
#061B04 #061B04 #124C0B #1F8113 #2BB71A

Accessibility & contrast

On white

10.17
#124C0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#124C0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124C0B
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124C0B#FFFFFF#000000##FFFFFF
##124C0B1.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4400
Deuteranopia (green-blind)
#473F12
Tritanopia (blue-blind)
#054940
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #124c0b;
/* rgb */ color: rgb(18, 76, 11);
/* oklch */ color: oklch(36.6% 0.111 141.6);
Tailwind
colors: {
  custom: {
    50: '#5b7f50',
    500: '#124c0b',
    950: '#000000',
  },
}
SCSS
$custom: #124c0b;
$custom-light: #5b7f50;
$custom-dark: #000000;
JSON
{
  "hex": "#124c0b",
  "rgb": {
    "r": 18,
    "g": 76,
    "b": 11
  },
  "hsl": {
    "h": 113.538,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.36566,
    "c": 0.11109,
    "h": 141.6
  },
  "luminance": 0.05322
}

Semantic roles & 50–950 ramp

primary
#124C0B
secondary
#7E2B88
accent
#36F1DD
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #124C0B

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

Preview Lab → · Contrast checker → · Palette generator →

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