#125F35#125F35

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

Color values

HEX#125F35
RGBrgb(18, 95, 53)
HSLhsl(147, 68%, 22%)
HSVhsv(147, 81%, 37%)
CMYKcmyk(81.1%, 0%, 44.2%, 62.7%)
CIE-LABlab(35.14, -33.29, 17.73)
CIE-LCHlch(35.14, 37.72, 151.97°)
OKLaboklab(42.96% -0.0897 0.044)
OKLCHoklch(42.96% 0.1 153.9)
XYZxyz(4.9838, 8.5695, 4.7589)
Luminance0.0857 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125F35 #5F123C
analogous
#155F12 #125F35 #125F5C
triadic
#125F35 #35125F #5F3512
tetradic
#125F35 #12155F #5F123C #5F5C12
square
#125F35 #12155F #5F123C #5F5C12
split-complementary
#125F35 #5C125F #5F1215
monochromatic
#051A0E #082C18 #125F35 #1C9252 #25C66E

Accessibility & contrast

On white

7.74
#125F35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#125F35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125F35
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125F35#FFFFFF#000000##FFFFFF
##125F351.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5732
Deuteranopia (green-blind)
#565038
Tritanopia (blue-blind)
#005E55
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #125f35;
/* rgb */ color: rgb(18, 95, 53);
/* oklch */ color: oklch(43.0% 0.100 153.9);
Tailwind
colors: {
  custom: {
    50: '#5e8d6c',
    500: '#125f35',
    950: '#000000',
  },
}
SCSS
$custom: #125f35;
$custom-light: #5e8d6c;
$custom-dark: #000000;
JSON
{
  "hex": "#125f35",
  "rgb": {
    "r": 18,
    "g": 95,
    "b": 53
  },
  "hsl": {
    "h": 147.273,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42955,
    "c": 0.09987,
    "h": 153.9
  },
  "luminance": 0.0857
}

Semantic roles & 50–950 ramp

primary
#125F35
secondary
#97366B
accent
#3D9CEB
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C07
muted
#797D7A

Preview Lab

Preview with #125F35

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

Preview Lab → · Contrast checker → · Palette generator →

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