#124E07#124E07

#124E07 is a dark, moderate green. Relative luminance 0.056; OKLCH L 37.2% C 0.116 H 141.1°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#124E07
RGBrgb(18, 78, 7)
HSLhsl(111, 84%, 17%)
HSVhsv(111, 91%, 31%)
CMYKcmyk(76.9%, 0%, 91%, 69.4%)
CIE-LABlab(28.36, -32.98, 32.96)
CIE-LCHlch(28.36, 46.63, 135.01°)
OKLaboklab(37.16% -0.0901 0.0727)
OKLCHoklch(37.16% 0.116 141.1)
XYZxyz(3.0120, 5.5924, 1.1217)
Luminance0.0559 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124E07 #43074E
analogous
#364E07 #124E07 #074E20
triadic
#124E07 #07124E #4E0712
tetradic
#124E07 #07364E #43074E #4E2007
square
#124E07 #07364E #43074E #4E2007
split-complementary
#124E07 #20074E #4E0736
monochromatic
#061C03 #061C03 #124E07 #1F860C #2CBE11

Accessibility & contrast

On white

9.91
#124E07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#124E07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124E07
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124E07#FFFFFF#000000##FFFFFF
##124E071.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504600
Deuteranopia (green-blind)
#494110
Tritanopia (blue-blind)
#054B41
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #124e07;
/* rgb */ color: rgb(18, 78, 7);
/* oklch */ color: oklch(37.2% 0.116 141.1);
Tailwind
colors: {
  custom: {
    50: '#5b804e',
    500: '#124e07',
    950: '#000000',
  },
}
SCSS
$custom: #124e07;
$custom-light: #5b804e;
$custom-dark: #000000;
JSON
{
  "hex": "#124e07",
  "rgb": {
    "r": 18,
    "g": 78,
    "b": 7
  },
  "hsl": {
    "h": 110.704,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.37163,
    "c": 0.11583,
    "h": 141.1
  },
  "luminance": 0.05593
}

Semantic roles & 50–950 ramp

primary
#124E07
secondary
#7C258C
accent
#2EFADA
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #124E07

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

Preview Lab → · Contrast checker → · Palette generator →

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