#124A09#124A09

#124A09 is a dark, moderate green. Relative luminance 0.050; OKLCH L 35.9% C 0.110 H 141.3°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#124A09
RGBrgb(18, 74, 9)
HSLhsl(112, 78%, 16%)
HSVhsv(112, 88%, 29%)
CMYKcmyk(75.7%, 0%, 87.8%, 71%)
CIE-LABlab(26.86, -31.31, 30.83)
CIE-LCHlch(26.86, 43.94, 135.44°)
OKLaboklab(35.93% -0.0855 0.0686)
OKLCHoklch(35.93% 0.11 141.3)
XYZxyz(2.7474, 5.0456, 1.0875)
Luminance0.0505 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124A09 #41094A
analogous
#334A09 #124A09 #094A21
triadic
#124A09 #09124A #4A0912
tetradic
#124A09 #09334A #41094A #4A2109
square
#124A09 #09334A #41094A #4A2109
split-complementary
#124A09 #21094A #4A0933
monochromatic
#071B03 #071B03 #124A09 #1F8110 #2DB716

Accessibility & contrast

On white

10.45
#124A09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#124A09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124A09
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124A09#FFFFFF#000000##FFFFFF
##124A091.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4200
Deuteranopia (green-blind)
#463E11
Tritanopia (blue-blind)
#06473E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #124a09;
/* rgb */ color: rgb(18, 74, 9);
/* oklch */ color: oklch(35.9% 0.110 141.3);
Tailwind
colors: {
  custom: {
    50: '#5a7d4e',
    500: '#124a09',
    950: '#000000',
  },
}
SCSS
$custom: #124a09;
$custom-light: #5a7d4e;
$custom-dark: #000000;
JSON
{
  "hex": "#124a09",
  "rgb": {
    "r": 18,
    "g": 74,
    "b": 9
  },
  "hsl": {
    "h": 111.692,
    "s": 78.313,
    "l": 16.275
  },
  "oklch": {
    "l": 0.35925,
    "c": 0.10966,
    "h": 141.3
  },
  "luminance": 0.05046
}

Semantic roles & 50–950 ramp

primary
#124A09
secondary
#7A2787
accent
#33F5DA
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #124A09

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

Preview Lab → · Contrast checker → · Palette generator →

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