#124C0F#124C0F

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

Color values

HEX#124C0F
RGBrgb(18, 76, 15)
HSLhsl(117, 67%, 18%)
HSVhsv(117, 80%, 30%)
CMYKcmyk(76.3%, 0%, 80.3%, 70.2%)
CIE-LABlab(27.66, -31.59, 29.25)
CIE-LCHlch(27.66, 43.05, 137.20°)
OKLaboklab(36.6% -0.0859 0.0663)
OKLCHoklch(36.6% 0.109 142.4)
XYZxyz(2.9200, 5.3317, 1.3271)
Luminance0.0533 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124C0F #490F4C
analogous
#304C0F #124C0F #0F4C2A
triadic
#124C0F #0F124C #4C0F12
tetradic
#124C0F #0F304C #490F4C #4C2A0F
square
#124C0F #0F304C #490F4C #4C2A0F
split-complementary
#124C0F #2A0F4C #4C0F30
monochromatic
#061A05 #061A05 #124C0F #1E7F19 #2AB223

Accessibility & contrast

On white

10.16
#124C0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#124C0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124C0F
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124C0F#FFFFFF#000000##FFFFFF
##124C0F1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4405
Deuteranopia (green-blind)
#474015
Tritanopia (blue-blind)
#044940
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #124c0f;
/* rgb */ color: rgb(18, 76, 15);
/* oklch */ color: oklch(36.6% 0.109 142.4);
Tailwind
colors: {
  custom: {
    50: '#5a7f52',
    500: '#124c0f',
    950: '#000000',
  },
}
SCSS
$custom: #124c0f;
$custom-light: #5a7f52;
$custom-dark: #000000;
JSON
{
  "hex": "#124c0f",
  "rgb": {
    "r": 18,
    "g": 76,
    "b": 15
  },
  "hsl": {
    "h": 117.049,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.36598,
    "c": 0.10854,
    "h": 142.4
  },
  "luminance": 0.05332
}

Semantic roles & 50–950 ramp

primary
#124C0F
secondary
#823186
accent
#3EEAE1
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #124C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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