#124F25#124F25

#124F25 is a dark, moderate green. Relative luminance 0.059; OKLCH L 37.8% C 0.093 H 149.5°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#124F25
RGBrgb(18, 79, 37)
HSLhsl(139, 63%, 19%)
HSVhsv(139, 77%, 31%)
CMYKcmyk(77.2%, 0%, 53.2%, 69%)
CIE-LABlab(29.04, -29.73, 19.32)
CIE-LCHlch(29.04, 35.46, 146.98°)
OKLaboklab(37.83% -0.08 0.0471)
OKLCHoklch(37.83% 0.093 149.5)
XYZxyz(3.3791, 5.8538, 2.7017)
Luminance0.0585 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124F25 #4F123C
analogous
#1E4F12 #124F25 #124F44
triadic
#124F25 #25124F #4F2512
tetradic
#124F25 #121E4F #4F123C #4F4412
square
#124F25 #121E4F #4F123C #4F4412
split-complementary
#124F25 #44124F #4F121E
monochromatic
#06190C #071D0E #124F25 #1D813C #29B354

Accessibility & contrast

On white

9.67
#124F25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#124F25 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124F25
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124F25#FFFFFF#000000##FFFFFF
##124F251.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504822
Deuteranopia (green-blind)
#484228
Tritanopia (blue-blind)
#004D45
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #124f25;
/* rgb */ color: rgb(18, 79, 37);
/* oklch */ color: oklch(37.8% 0.093 149.5);
Tailwind
colors: {
  custom: {
    50: '#5a8160',
    500: '#124f25',
    950: '#000000',
  },
}
SCSS
$custom: #124f25;
$custom-light: #5a8160;
$custom-dark: #000000;
JSON
{
  "hex": "#124f25",
  "rgb": {
    "r": 18,
    "g": 79,
    "b": 37
  },
  "hsl": {
    "h": 138.689,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.37826,
    "c": 0.09285,
    "h": 149.5
  },
  "luminance": 0.05854
}

Semantic roles & 50–950 ramp

primary
#124F25
secondary
#88356E
accent
#42B3E6
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A05
muted
#797C79

Preview Lab

Preview with #124F25

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

Preview Lab → · Contrast checker → · Palette generator →

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