#125A3E#125A3E

#125A3E is a dark, moderate teal. Relative luminance 0.078; OKLCH L 41.7% C 0.083 H 162.0°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#125A3E
RGBrgb(18, 90, 62)
HSLhsl(157, 67%, 21%)
HSVhsv(157, 80%, 35%)
CMYKcmyk(80%, 0%, 31.1%, 64.7%)
CIE-LABlab(33.54, -29.04, 10.12)
CIE-LCHlch(33.54, 30.75, 160.78°)
OKLaboklab(41.7% -0.0793 0.0257)
OKLCHoklch(41.7% 0.083 162)
XYZxyz(4.7746, 7.7882, 5.8081)
Luminance0.0779 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125A3E #5A122E
analogous
#125A1A #125A3E #12525A
triadic
#125A3E #3E125A #5A3E12
tetradic
#125A3E #1A125A #5A122E #525A12
square
#125A3E #1A125A #5A122E #525A12
split-complementary
#125A3E #5A1252 #5A1A12
monochromatic
#051A12 #08271B #125A3E #1C8D61 #26C084

Accessibility & contrast

On white

8.21
#125A3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#125A3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125A3E
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125A3E#FFFFFF#000000##FFFFFF
##125A3E1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58533C
Deuteranopia (green-blind)
#504C40
Tritanopia (blue-blind)
#005A52
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #125a3e;
/* rgb */ color: rgb(18, 90, 62);
/* oklch */ color: oklch(41.7% 0.083 162.0);
Tailwind
colors: {
  custom: {
    50: '#5d8973',
    500: '#125a3e',
    950: '#000000',
  },
}
SCSS
$custom: #125a3e;
$custom-light: #5d8973;
$custom-dark: #000000;
JSON
{
  "hex": "#125a3e",
  "rgb": {
    "r": 18,
    "g": 90,
    "b": 62
  },
  "hsl": {
    "h": 156.667,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41695,
    "c": 0.08339,
    "h": 162
  },
  "luminance": 0.07789
}

Semantic roles & 50–950 ramp

primary
#125A3E
secondary
#93355A
accent
#3E81EA
background
#F5F8F6
surface
#E9F0EC
border
#C5CBC7
text
#050B08
muted
#797C7B

Preview Lab

Preview with #125A3E

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

Preview Lab → · Contrast checker → · Palette generator →

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