#125A3B#125A3B

#125A3B is a dark, moderate teal. Relative luminance 0.078; OKLCH L 41.6% C 0.086 H 159.6°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#125A3B
RGBrgb(18, 90, 59)
HSLhsl(154, 67%, 21%)
HSVhsv(154, 80%, 35%)
CMYKcmyk(80%, 0%, 34.4%, 64.7%)
CIE-LABlab(33.47, -29.78, 11.87)
CIE-LCHlch(33.47, 32.06, 158.26°)
OKLaboklab(41.62% -0.0809 0.0301)
OKLCHoklch(41.62% 0.086 159.6)
XYZxyz(4.6946, 7.7561, 5.3865)
Luminance0.0776 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125A3B #5A1231
analogous
#125A17 #125A3B #12555A
triadic
#125A3B #3B125A #5A3B12
tetradic
#125A3B #17125A #5A1231 #555A12
square
#125A3B #17125A #5A1231 #555A12
split-complementary
#125A3B #5A1255 #5A1712
monochromatic
#051A11 #08271A #125A3B #1C8D5C #26C07E

Accessibility & contrast

On white

8.23
#125A3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125A3B
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125A3B#FFFFFF#000000##FFFFFF
##125A3B1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595239
Deuteranopia (green-blind)
#504C3D
Tritanopia (blue-blind)
#005A52
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #125a3b;
/* rgb */ color: rgb(18, 90, 59);
/* oklch */ color: oklch(41.6% 0.086 159.6);
Tailwind
colors: {
  custom: {
    50: '#5d8971',
    500: '#125a3b',
    950: '#000000',
  },
}
SCSS
$custom: #125a3b;
$custom-light: #5d8971;
$custom-dark: #000000;
JSON
{
  "hex": "#125a3b",
  "rgb": {
    "r": 18,
    "g": 90,
    "b": 59
  },
  "hsl": {
    "h": 154.167,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41617,
    "c": 0.08634,
    "h": 159.6
  },
  "luminance": 0.07757
}

Semantic roles & 50–950 ramp

primary
#125A3B
secondary
#93355D
accent
#3E88EA
background
#F5F8F6
surface
#E9F0EC
border
#C5CBC7
text
#050B07
muted
#797C7A

Preview Lab

Preview with #125A3B

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

Preview Lab → · Contrast checker → · Palette generator →

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