#125E3F#125E3F

#125E3F is a dark, moderate teal. Relative luminance 0.085; OKLCH L 42.9% C 0.088 H 160.7°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#125E3F
RGBrgb(18, 94, 63)
HSLhsl(156, 68%, 22%)
HSVhsv(156, 81%, 37%)
CMYKcmyk(80.9%, 0%, 33%, 63.1%)
CIE-LABlab(34.99, -30.59, 11.51)
CIE-LCHlch(34.99, 32.68, 159.38°)
OKLaboklab(42.9% -0.0833 0.0292)
OKLCHoklch(42.9% 0.088 160.7)
XYZxyz(5.1488, 8.4923, 6.0695)
Luminance0.0849 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125E3F #5E1231
analogous
#125E19 #125E3F #12575E
triadic
#125E3F #3F125E #5E3F12
tetradic
#125E3F #19125E #5E1231 #575E12
square
#125E3F #19125E #5E1231 #575E12
split-complementary
#125E3F #5E1257 #5E1912
monochromatic
#051A11 #082B1D #125E3F #1C9161 #26C584

Accessibility & contrast

On white

7.78
#125E3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#125E3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125E3F
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125E3F#FFFFFF#000000##FFFFFF
##125E3F1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D563D
Deuteranopia (green-blind)
#535041
Tritanopia (blue-blind)
#005E56
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #125e3f;
/* rgb */ color: rgb(18, 94, 63);
/* oklch */ color: oklch(42.9% 0.088 160.7);
Tailwind
colors: {
  custom: {
    50: '#5e8c74',
    500: '#125e3f',
    950: '#000000',
  },
}
SCSS
$custom: #125e3f;
$custom-light: #5e8c74;
$custom-dark: #000000;
JSON
{
  "hex": "#125e3f",
  "rgb": {
    "r": 18,
    "g": 94,
    "b": 63
  },
  "hsl": {
    "h": 155.526,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42895,
    "c": 0.08825,
    "h": 160.7
  },
  "luminance": 0.08493
}

Semantic roles & 50–950 ramp

primary
#125E3F
secondary
#96355D
accent
#3D84EB
background
#F5F8F7
surface
#EAF0ED
border
#C6CBC8
text
#050C08
muted
#797D7B

Preview Lab

Preview with #125E3F

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

Preview Lab → · Contrast checker → · Palette generator →

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