#124E0F#124E0F

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

Color values

HEX#124E0F
RGBrgb(18, 78, 15)
HSLhsl(117, 68%, 18%)
HSVhsv(117, 81%, 31%)
CMYKcmyk(76.9%, 0%, 80.8%, 69.4%)
CIE-LABlab(28.41, -32.36, 30.01)
CIE-LCHlch(28.41, 44.14, 137.16°)
OKLaboklab(37.22% -0.088 0.0679)
OKLCHoklch(37.22% 0.111 142.4)
XYZxyz(3.0599, 5.6115, 1.3737)
Luminance0.0561 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124E0F #4B0F4E
analogous
#314E0F #124E0F #0F4E2B
triadic
#124E0F #0F124E #4E0F12
tetradic
#124E0F #0F314E #4B0F4E #4E2B0F
square
#124E0F #0F314E #4B0F4E #4E2B0F
split-complementary
#124E0F #2B0F4E #4E0F31
monochromatic
#061A05 #061B05 #124E0F #1E8119 #2AB523

Accessibility & contrast

On white

9.89
#124E0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124E0F
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124E0F#FFFFFF#000000##FFFFFF
##124E0F1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504604
Deuteranopia (green-blind)
#494116
Tritanopia (blue-blind)
#034B42
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #124e0f;
/* rgb */ color: rgb(18, 78, 15);
/* oklch */ color: oklch(37.2% 0.111 142.4);
Tailwind
colors: {
  custom: {
    50: '#5b8052',
    500: '#124e0f',
    950: '#000000',
  },
}
SCSS
$custom: #124e0f;
$custom-light: #5b8052;
$custom-dark: #000000;
JSON
{
  "hex": "#124e0f",
  "rgb": {
    "r": 18,
    "g": 78,
    "b": 15
  },
  "hsl": {
    "h": 117.143,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.37221,
    "c": 0.11117,
    "h": 142.4
  },
  "luminance": 0.05612
}

Semantic roles & 50–950 ramp

primary
#124E0F
secondary
#843188
accent
#3DEBE2
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #124E0F

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

Preview Lab → · Contrast checker → · Palette generator →

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