#124E15#124E15

#124E15 is a dark, moderate green. Relative luminance 0.056; OKLCH L 37.3% C 0.107 H 143.7°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#124E15
RGBrgb(18, 78, 21)
HSLhsl(123, 63%, 19%)
HSVhsv(123, 77%, 31%)
CMYKcmyk(76.9%, 0%, 73.1%, 69.4%)
CIE-LABlab(28.46, -31.74, 27.34)
CIE-LCHlch(28.46, 41.90, 139.26°)
OKLaboklab(37.28% -0.086 0.0631)
OKLCHoklch(37.28% 0.107 143.7)
XYZxyz(3.1090, 5.6312, 1.6324)
Luminance0.0563 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124E15 #4E124B
analogous
#2D4E12 #124E15 #124E33
triadic
#124E15 #15124E #4E1512
tetradic
#124E15 #122D4E #4E124B #4E3312
square
#124E15 #122D4E #4E124B #4E3312
split-complementary
#124E15 #33124E #4E122D
monochromatic
#061907 #071C08 #124E15 #1D8022 #29B130

Accessibility & contrast

On white

9.88
#124E15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#124E15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124E15
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124E15#FFFFFF#000000##FFFFFF
##124E151.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50460D
Deuteranopia (green-blind)
#49411A
Tritanopia (blue-blind)
#014C42
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #124e15;
/* rgb */ color: rgb(18, 78, 21);
/* oklch */ color: oklch(37.3% 0.107 143.7);
Tailwind
colors: {
  custom: {
    50: '#5a8055',
    500: '#124e15',
    950: '#000000',
  },
}
SCSS
$custom: #124e15;
$custom-light: #5a8055;
$custom-dark: #000000;
JSON
{
  "hex": "#124e15",
  "rgb": {
    "r": 18,
    "g": 78,
    "b": 21
  },
  "hsl": {
    "h": 123,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.3728,
    "c": 0.10669,
    "h": 143.7
  },
  "luminance": 0.05632
}

Semantic roles & 50–950 ramp

primary
#124E15
secondary
#873583
accent
#42DDE6
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #124E15

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

Preview Lab → · Contrast checker → · Palette generator →

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