#125F38#125F38

#125F38 is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.0% C 0.097 H 155.6°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#125F38
RGBrgb(18, 95, 56)
HSLhsl(150, 68%, 22%)
HSVhsv(150, 81%, 37%)
CMYKcmyk(81.1%, 0%, 41.1%, 62.7%)
CIE-LABlab(35.20, -32.65, 16.02)
CIE-LCHlch(35.20, 36.37, 153.87°)
OKLaboklab(43.02% -0.0881 0.04)
OKLCHoklch(43.02% 0.097 155.6)
XYZxyz(5.0550, 8.5979, 5.1338)
Luminance0.0860 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125F38 #5F1239
analogous
#135F12 #125F38 #125F5F
triadic
#125F38 #38125F #5F3812
tetradic
#125F38 #12135F #5F1239 #5F5F12
square
#125F38 #12135F #5F1239 #5F5F12
split-complementary
#125F38 #5F125F #5F1213
monochromatic
#051A0F #082C1A #125F38 #1C9256 #25C675

Accessibility & contrast

On white

7.72
#125F38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#125F38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125F38
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125F38#FFFFFF#000000##FFFFFF
##125F381.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5735
Deuteranopia (green-blind)
#55503B
Tritanopia (blue-blind)
#005E55
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #125f38;
/* rgb */ color: rgb(18, 95, 56);
/* oklch */ color: oklch(43.0% 0.097 155.6);
Tailwind
colors: {
  custom: {
    50: '#5e8d6f',
    500: '#125f38',
    950: '#000000',
  },
}
SCSS
$custom: #125f38;
$custom-light: #5e8d6f;
$custom-dark: #000000;
JSON
{
  "hex": "#125f38",
  "rgb": {
    "r": 18,
    "g": 95,
    "b": 56
  },
  "hsl": {
    "h": 149.61,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43021,
    "c": 0.09677,
    "h": 155.6
  },
  "luminance": 0.08599
}

Semantic roles & 50–950 ramp

primary
#125F38
secondary
#973667
accent
#3D95EB
background
#F5F8F6
surface
#EAF0EC
border
#C6CBC7
text
#050C07
muted
#797D7A

Preview Lab

Preview with #125F38

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

Preview Lab → · Contrast checker → · Palette generator →

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