#124E25#124E25

#124E25 is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.5% C 0.091 H 149.8°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#124E25
RGBrgb(18, 78, 37)
HSLhsl(139, 63%, 19%)
HSVhsv(139, 77%, 31%)
CMYKcmyk(76.9%, 0%, 52.6%, 69.4%)
CIE-LABlab(28.67, -29.31, 18.86)
CIE-LCHlch(28.67, 34.85, 147.24°)
OKLaboklab(37.52% -0.0789 0.046)
OKLCHoklch(37.52% 0.091 149.8)
XYZxyz(3.3075, 5.7106, 2.6778)
Luminance0.0571 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124E25 #4E123B
analogous
#1D4E12 #124E25 #124E43
triadic
#124E25 #25124E #4E2512
tetradic
#124E25 #121D4E #4E123B #4E4312
square
#124E25 #121D4E #4E123B #4E4312
split-complementary
#124E25 #43124E #4E121D
monochromatic
#06190C #071C0D #124E25 #1D803D #29B154

Accessibility & contrast

On white

9.80
#124E25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#124E25 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124E25
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124E25#FFFFFF#000000##FFFFFF
##124E251.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4722
Deuteranopia (green-blind)
#474228
Tritanopia (blue-blind)
#004C44
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #124e25;
/* rgb */ color: rgb(18, 78, 37);
/* oklch */ color: oklch(37.5% 0.091 149.8);
Tailwind
colors: {
  custom: {
    50: '#5a8060',
    500: '#124e25',
    950: '#000000',
  },
}
SCSS
$custom: #124e25;
$custom-light: #5a8060;
$custom-dark: #000000;
JSON
{
  "hex": "#124e25",
  "rgb": {
    "r": 18,
    "g": 78,
    "b": 37
  },
  "hsl": {
    "h": 139,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.3752,
    "c": 0.09134,
    "h": 149.8
  },
  "luminance": 0.05711
}

Semantic roles & 50–950 ramp

primary
#124E25
secondary
#87356D
accent
#42B2E6
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A05
muted
#797C79

Preview Lab

Preview with #124E25

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

Preview Lab → · Contrast checker → · Palette generator →

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