#124C25#124C25

#124C25 is a dark, moderate green. Relative luminance 0.054; OKLCH L 36.9% C 0.088 H 150.2°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#124C25
RGBrgb(18, 76, 37)
HSLhsl(140, 62%, 18%)
HSVhsv(140, 76%, 30%)
CMYKcmyk(76.3%, 0%, 51.3%, 70.2%)
CIE-LABlab(27.93, -28.44, 17.92)
CIE-LCHlch(27.93, 33.61, 147.79°)
OKLaboklab(36.91% -0.0766 0.0439)
OKLCHoklch(36.91% 0.088 150.2)
XYZxyz(3.1676, 5.4307, 2.6312)
Luminance0.0543 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124C25 #4C1239
analogous
#1C4C12 #124C25 #124C42
triadic
#124C25 #25124C #4C2512
tetradic
#124C25 #121C4C #4C1239 #4C4212
square
#124C25 #121C4C #4C1239 #4C4212
split-complementary
#124C25 #42124C #4C121C
monochromatic
#06190C #061B0D #124C25 #1E7D3D #29AF55

Accessibility & contrast

On white

10.07
#124C25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#124C25 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124C25
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124C25#FFFFFF#000000##FFFFFF
##124C251.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4522
Deuteranopia (green-blind)
#454028
Tritanopia (blue-blind)
#004B43
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #124c25;
/* rgb */ color: rgb(18, 76, 37);
/* oklch */ color: oklch(36.9% 0.088 150.2);
Tailwind
colors: {
  custom: {
    50: '#597f60',
    500: '#124c25',
    950: '#000000',
  },
}
SCSS
$custom: #124c25;
$custom-light: #597f60;
$custom-dark: #000000;
JSON
{
  "hex": "#124c25",
  "rgb": {
    "r": 18,
    "g": 76,
    "b": 37
  },
  "hsl": {
    "h": 139.655,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.36907,
    "c": 0.08828,
    "h": 150.2
  },
  "luminance": 0.05431
}

Semantic roles & 50–950 ramp

primary
#124C25
secondary
#85356B
accent
#43B0E5
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A05
muted
#797C79

Preview Lab

Preview with #124C25

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

Preview Lab → · Contrast checker → · Palette generator →

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