#124A0F#124A0F

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

Color values

HEX#124A0F
RGBrgb(18, 74, 15)
HSLhsl(117, 66%, 17%)
HSVhsv(117, 80%, 29%)
CMYKcmyk(75.7%, 0%, 79.7%, 71%)
CIE-LABlab(26.91, -30.81, 28.48)
CIE-LCHlch(26.91, 41.95, 137.25°)
OKLaboklab(35.97% -0.0838 0.0647)
OKLCHoklch(35.97% 0.106 142.3)
XYZxyz(2.7843, 5.0604, 1.2819)
Luminance0.0506 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124A0F #470F4A
analogous
#304A0F #124A0F #0F4A29
triadic
#124A0F #0F124A #4A0F12
tetradic
#124A0F #0F304A #470F4A #4A290F
square
#124A0F #0F304A #470F4A #4A290F
split-complementary
#124A0F #290F4A #4A0F30
monochromatic
#061905 #061905 #124A0F #1E7D19 #2BB024

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##124A0F#FFFFFF#000000##FFFFFF
##124A0F1.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)
#4C4206
Deuteranopia (green-blind)
#453E15
Tritanopia (blue-blind)
#05483E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #124a0f;
/* rgb */ color: rgb(18, 74, 15);
/* oklch */ color: oklch(36.0% 0.106 142.3);
Tailwind
colors: {
  custom: {
    50: '#5a7d51',
    500: '#124a0f',
    950: '#000000',
  },
}
SCSS
$custom: #124a0f;
$custom-light: #5a7d51;
$custom-dark: #000000;
JSON
{
  "hex": "#124a0f",
  "rgb": {
    "r": 18,
    "g": 74,
    "b": 15
  },
  "hsl": {
    "h": 116.949,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.35973,
    "c": 0.10587,
    "h": 142.3
  },
  "luminance": 0.05061
}

Semantic roles & 50–950 ramp

primary
#124A0F
secondary
#803084
accent
#3FE9E1
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #124A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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