#125A38#125A38

#125A38 is a dark, moderate teal. Relative luminance 0.077; OKLCH L 41.5% C 0.089 H 157.5°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#125A38
RGBrgb(18, 90, 56)
HSLhsl(152, 67%, 21%)
HSVhsv(152, 80%, 35%)
CMYKcmyk(80%, 0%, 37.8%, 64.7%)
CIE-LABlab(33.41, -30.49, 13.62)
CIE-LCHlch(33.41, 33.39, 155.94°)
OKLaboklab(41.54% -0.0826 0.0343)
OKLCHoklch(41.54% 0.089 157.5)
XYZxyz(4.6190, 7.7259, 4.9884)
Luminance0.0773 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125A38 #5A1234
analogous
#125A14 #125A38 #12585A
triadic
#125A38 #38125A #5A3812
tetradic
#125A38 #14125A #5A1234 #585A12
square
#125A38 #14125A #5A1234 #585A12
split-complementary
#125A38 #5A1258 #5A1412
monochromatic
#051A10 #082718 #125A38 #1C8D58 #26C077

Accessibility & contrast

On white

8.25
#125A38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#125A38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125A38
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125A38#FFFFFF#000000##FFFFFF
##125A381.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595236
Deuteranopia (green-blind)
#504C3A
Tritanopia (blue-blind)
#005951
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #125a38;
/* rgb */ color: rgb(18, 90, 56);
/* oklch */ color: oklch(41.5% 0.089 157.5);
Tailwind
colors: {
  custom: {
    50: '#5d896e',
    500: '#125a38',
    950: '#000000',
  },
}
SCSS
$custom: #125a38;
$custom-light: #5d896e;
$custom-dark: #000000;
JSON
{
  "hex": "#125a38",
  "rgb": {
    "r": 18,
    "g": 90,
    "b": 56
  },
  "hsl": {
    "h": 151.667,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41542,
    "c": 0.08939,
    "h": 157.5
  },
  "luminance": 0.07726
}

Semantic roles & 50–950 ramp

primary
#125A38
secondary
#933561
accent
#3E8FEA
background
#F5F8F6
surface
#E9F0EC
border
#C5CBC7
text
#050B07
muted
#797C7A

Preview Lab

Preview with #125A38

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

Preview Lab → · Contrast checker → · Palette generator →

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