#125F3E#125F3E

#125F3E is a dark, moderate teal. Relative luminance 0.087; OKLCH L 43.2% C 0.091 H 159.5°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#125F3E
RGBrgb(18, 95, 62)
HSLhsl(154, 68%, 22%)
HSVhsv(154, 81%, 37%)
CMYKcmyk(81.1%, 0%, 34.7%, 62.7%)
CIE-LABlab(35.32, -31.27, 12.58)
CIE-LCHlch(35.32, 33.71, 158.09°)
OKLaboklab(43.16% -0.0849 0.0318)
OKLCHoklch(43.16% 0.091 159.5)
XYZxyz(5.2106, 8.6602, 5.9535)
Luminance0.0866 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125F3E #5F1233
analogous
#125F18 #125F3E #125A5F
triadic
#125F3E #3E125F #5F3E12
tetradic
#125F3E #18125F #5F1233 #5A5F12
square
#125F3E #18125F #5F1233 #5A5F12
split-complementary
#125F3E #5F125A #5F1812
monochromatic
#051A11 #082C1C #125F3E #1C9260 #25C681

Accessibility & contrast

On white

7.69
#125F3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#125F3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125F3E
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125F3E#FFFFFF#000000##FFFFFF
##125F3E1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E573C
Deuteranopia (green-blind)
#545040
Tritanopia (blue-blind)
#005E56
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #125f3e;
/* rgb */ color: rgb(18, 95, 62);
/* oklch */ color: oklch(43.2% 0.091 159.5);
Tailwind
colors: {
  custom: {
    50: '#5e8d73',
    500: '#125f3e',
    950: '#000000',
  },
}
SCSS
$custom: #125f3e;
$custom-light: #5e8d73;
$custom-dark: #000000;
JSON
{
  "hex": "#125f3e",
  "rgb": {
    "r": 18,
    "g": 95,
    "b": 62
  },
  "hsl": {
    "h": 154.286,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43163,
    "c": 0.09068,
    "h": 159.5
  },
  "luminance": 0.08661
}

Semantic roles & 50–950 ramp

primary
#125F3E
secondary
#97365F
accent
#3D87EB
background
#F5F8F7
surface
#EAF0ED
border
#C6CBC8
text
#050C08
muted
#797D7B

Preview Lab

Preview with #125F3E

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

Preview Lab → · Contrast checker → · Palette generator →

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