#125E35#125E35

#125E35 is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.7% C 0.098 H 154.2°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#125E35
RGBrgb(18, 94, 53)
HSLhsl(148, 68%, 22%)
HSVhsv(148, 81%, 37%)
CMYKcmyk(80.9%, 0%, 43.6%, 63.1%)
CIE-LABlab(34.78, -32.88, 17.26)
CIE-LCHlch(34.78, 37.13, 152.31°)
OKLaboklab(42.66% -0.0886 0.0429)
OKLCHoklch(42.66% 0.098 154.2)
XYZxyz(4.8943, 8.3905, 4.7290)
Luminance0.0839 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125E35 #5E123B
analogous
#155E12 #125E35 #125E5B
triadic
#125E35 #35125E #5E3512
tetradic
#125E35 #12155E #5E123B #5E5B12
square
#125E35 #12155E #5E123B #5E5B12
split-complementary
#125E35 #5B125E #5E1215
monochromatic
#051A0E #082B18 #125E35 #1C9152 #26C56F

Accessibility & contrast

On white

7.84
#125E35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#125E35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125E35
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125E35#FFFFFF#000000##FFFFFF
##125E351.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5632
Deuteranopia (green-blind)
#554F38
Tritanopia (blue-blind)
#005D54
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #125e35;
/* rgb */ color: rgb(18, 94, 53);
/* oklch */ color: oklch(42.7% 0.098 154.2);
Tailwind
colors: {
  custom: {
    50: '#5e8c6c',
    500: '#125e35',
    950: '#000000',
  },
}
SCSS
$custom: #125e35;
$custom-light: #5e8c6c;
$custom-dark: #000000;
JSON
{
  "hex": "#125e35",
  "rgb": {
    "r": 18,
    "g": 94,
    "b": 53
  },
  "hsl": {
    "h": 147.632,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42659,
    "c": 0.09841,
    "h": 154.2
  },
  "luminance": 0.08391
}

Semantic roles & 50–950 ramp

primary
#125E35
secondary
#96356A
accent
#3D9BEB
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C07
muted
#797D7A

Preview Lab

Preview with #125E35

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

Preview Lab → · Contrast checker → · Palette generator →

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