#125B34#125B34

#125B34 is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.7% C 0.095 H 154.5°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#125B34
RGBrgb(18, 91, 52)
HSLhsl(148, 67%, 21%)
HSVhsv(148, 80%, 36%)
CMYKcmyk(80.2%, 0%, 42.9%, 64.3%)
CIE-LABlab(33.69, -31.82, 16.40)
CIE-LCHlch(33.69, 35.80, 152.73°)
OKLaboklab(41.75% -0.0858 0.0409)
OKLCHoklch(41.75% 0.095 154.5)
XYZxyz(4.6099, 7.8582, 4.5220)
Luminance0.0786 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125B34 #5B1239
analogous
#155B12 #125B34 #125B59
triadic
#125B34 #34125B #5B3412
tetradic
#125B34 #12155B #5B1239 #5B5912
square
#125B34 #12155B #5B1239 #5B5912
split-complementary
#125B34 #59125B #5B1215
monochromatic
#051A0F #082817 #125B34 #1C8E51 #26C16E

Accessibility & contrast

On white

8.17
#125B34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#125B34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125B34
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125B34#FFFFFF#000000##FFFFFF
##125B341.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5331
Deuteranopia (green-blind)
#524D37
Tritanopia (blue-blind)
#005A51
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #125b34;
/* rgb */ color: rgb(18, 91, 52);
/* oklch */ color: oklch(41.7% 0.095 154.5);
Tailwind
colors: {
  custom: {
    50: '#5d8a6c',
    500: '#125b34',
    950: '#000000',
  },
}
SCSS
$custom: #125b34;
$custom-light: #5d8a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#125b34",
  "rgb": {
    "r": 18,
    "g": 91,
    "b": 52
  },
  "hsl": {
    "h": 147.945,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.41747,
    "c": 0.09502,
    "h": 154.5
  },
  "luminance": 0.07859
}

Semantic roles & 50–950 ramp

primary
#125B34
secondary
#933568
accent
#3E9AEA
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C07
muted
#797D7A

Preview Lab

Preview with #125B34

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

Preview Lab → · Contrast checker → · Palette generator →

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