#124007#124007

#124007 is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.7% C 0.098 H 140.4°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#124007
RGBrgb(18, 64, 7)
HSLhsl(108, 80%, 14%)
HSVhsv(108, 89%, 25%)
CMYKcmyk(71.9%, 0%, 89.1%, 74.9%)
CIE-LABlab(23.03, -27.48, 27.92)
CIE-LCHlch(23.03, 39.18, 134.55°)
OKLaboklab(32.75% -0.0753 0.0624)
OKLCHoklch(32.75% 0.098 140.4)
XYZxyz(2.1211, 3.8105, 0.8247)
Luminance0.0381 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124007 #350740
analogous
#2F4007 #124007 #074019
triadic
#124007 #071240 #400712
tetradic
#124007 #072F40 #350740 #401907
square
#124007 #072F40 #350740 #401907
split-complementary
#124007 #190740 #40072F
monochromatic
#081C03 #081C03 #124007 #22770D #31AE13

Accessibility & contrast

On white

11.92
#124007 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#124007 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124007
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124007#FFFFFF#000000##FFFFFF
##1240071.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423900
Deuteranopia (green-blind)
#3C360D
Tritanopia (blue-blind)
#0B3E35
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #124007;
/* rgb */ color: rgb(18, 64, 7);
/* oklch */ color: oklch(32.7% 0.098 140.4);
Tailwind
colors: {
  custom: {
    50: '#58754c',
    500: '#124007',
    950: '#000000',
  },
}
SCSS
$custom: #124007;
$custom-light: #58754c;
$custom-dark: #000000;
JSON
{
  "hex": "#124007",
  "rgb": {
    "r": 18,
    "g": 64,
    "b": 7
  },
  "hsl": {
    "h": 108.421,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.32747,
    "c": 0.09783,
    "h": 140.4
  },
  "luminance": 0.03811
}

Semantic roles & 50–950 ramp

primary
#124007
secondary
#6D247F
accent
#31F7D1
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040801
muted
#797B77

Preview Lab

Preview with #124007

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

Preview Lab → · Contrast checker → · Palette generator →

#124007 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva