#125E30#125E30

#125E30 is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.6% C 0.104 H 151.6°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#125E30
RGBrgb(18, 94, 48)
HSLhsl(144, 68%, 22%)
HSVhsv(144, 81%, 37%)
CMYKcmyk(80.9%, 0%, 48.9%, 63.1%)
CIE-LABlab(34.69, -33.89, 20.07)
CIE-LCHlch(34.69, 39.39, 149.36°)
OKLaboklab(42.56% -0.0911 0.0493)
OKLCHoklch(42.56% 0.104 151.6)
XYZxyz(4.7852, 8.3468, 4.1546)
Luminance0.0835 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125E30 #5E1240
analogous
#1A5E12 #125E30 #125E56
triadic
#125E30 #30125E #5E3012
tetradic
#125E30 #121A5E #5E1240 #5E5612
square
#125E30 #121A5E #5E1240 #5E5612
split-complementary
#125E30 #56125E #5E121A
monochromatic
#051A0D #082B16 #125E30 #1C914A #26C564

Accessibility & contrast

On white

7.87
#125E30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#125E30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125E30
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125E30#FFFFFF#000000##FFFFFF
##125E301.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E552C
Deuteranopia (green-blind)
#554F33
Tritanopia (blue-blind)
#005C53
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #125e30;
/* rgb */ color: rgb(18, 94, 48);
/* oklch */ color: oklch(42.6% 0.104 151.6);
Tailwind
colors: {
  custom: {
    50: '#5e8c69',
    500: '#125e30',
    950: '#000000',
  },
}
SCSS
$custom: #125e30;
$custom-light: #5e8c69;
$custom-dark: #000000;
JSON
{
  "hex": "#125e30",
  "rgb": {
    "r": 18,
    "g": 94,
    "b": 48
  },
  "hsl": {
    "h": 143.684,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42558,
    "c": 0.10359,
    "h": 151.6
  },
  "luminance": 0.08347
}

Semantic roles & 50–950 ramp

primary
#125E30
secondary
#963570
accent
#3DA6EB
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #125E30

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

Preview Lab → · Contrast checker → · Palette generator →

#125E30 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva