#124A0E#124A0E

#124A0E is a dark, moderate green. Relative luminance 0.051; OKLCH L 36.0% C 0.107 H 142.1°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#124A0E
RGBrgb(18, 74, 14)
HSLhsl(116, 68%, 17%)
HSVhsv(116, 81%, 29%)
CMYKcmyk(75.7%, 0%, 81.1%, 71%)
CIE-LABlab(26.90, -30.90, 28.90)
CIE-LCHlch(26.90, 42.31, 136.92°)
OKLaboklab(35.96% -0.0841 0.0654)
OKLCHoklch(35.96% 0.107 142.1)
XYZxyz(2.7773, 5.0576, 1.2452)
Luminance0.0506 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124A0E #460E4A
analogous
#304A0E #124A0E #0E4A28
triadic
#124A0E #0E124A #4A0E12
tetradic
#124A0E #0E304A #460E4A #4A280E
square
#124A0E #0E304A #460E4A #4A280E
split-complementary
#124A0E #280E4A #4A0E30
monochromatic
#061A05 #061A05 #124A0E #1F7D18 #2BB121

Accessibility & contrast

On white

10.44
#124A0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124A0E
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124A0E#FFFFFF#000000##FFFFFF
##124A0E1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4204
Deuteranopia (green-blind)
#453E14
Tritanopia (blue-blind)
#05483E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #124a0e;
/* rgb */ color: rgb(18, 74, 14);
/* oklch */ color: oklch(36.0% 0.107 142.1);
Tailwind
colors: {
  custom: {
    50: '#5a7d51',
    500: '#124a0e',
    950: '#000000',
  },
}
SCSS
$custom: #124a0e;
$custom-light: #5a7d51;
$custom-dark: #000000;
JSON
{
  "hex": "#124a0e",
  "rgb": {
    "r": 18,
    "g": 74,
    "b": 14
  },
  "hsl": {
    "h": 116,
    "s": 68.182,
    "l": 17.255
  },
  "oklch": {
    "l": 0.35964,
    "c": 0.10657,
    "h": 142.1
  },
  "luminance": 0.05058
}

Semantic roles & 50–950 ramp

primary
#124A0E
secondary
#7F2F85
accent
#3DEBDF
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #124A0E

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

Preview Lab → · Contrast checker → · Palette generator →

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