#125F3A#125F3A

#125F3A is a dark, moderate teal. Relative luminance 0.086; OKLCH L 43.1% C 0.095 H 156.8°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#125F3A
RGBrgb(18, 95, 58)
HSLhsl(151, 68%, 22%)
HSVhsv(151, 81%, 37%)
CMYKcmyk(81.1%, 0%, 38.9%, 62.7%)
CIE-LABlab(35.24, -32.20, 14.88)
CIE-LCHlch(35.24, 35.47, 155.21°)
OKLaboklab(43.07% -0.087 0.0373)
OKLCHoklch(43.07% 0.095 156.8)
XYZxyz(5.1049, 8.6179, 5.3965)
Luminance0.0862 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125F3A #5F1237
analogous
#125F14 #125F3A #125E5F
triadic
#125F3A #3A125F #5F3A12
tetradic
#125F3A #14125F #5F1237 #5E5F12
square
#125F3A #14125F #5F1237 #5E5F12
split-complementary
#125F3A #5F125E #5F1412
monochromatic
#051A10 #082C1B #125F3A #1C9259 #25C679

Accessibility & contrast

On white

7.71
#125F3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#125F3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125F3A
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125F3A#FFFFFF#000000##FFFFFF
##125F3A1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5738
Deuteranopia (green-blind)
#55503C
Tritanopia (blue-blind)
#005E56
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #125f3a;
/* rgb */ color: rgb(18, 95, 58);
/* oklch */ color: oklch(43.1% 0.095 156.8);
Tailwind
colors: {
  custom: {
    50: '#5e8d70',
    500: '#125f3a',
    950: '#000000',
  },
}
SCSS
$custom: #125f3a;
$custom-light: #5e8d70;
$custom-dark: #000000;
JSON
{
  "hex": "#125f3a",
  "rgb": {
    "r": 18,
    "g": 95,
    "b": 58
  },
  "hsl": {
    "h": 151.169,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43066,
    "c": 0.09472,
    "h": 156.8
  },
  "luminance": 0.08619
}

Semantic roles & 50–950 ramp

primary
#125F3A
secondary
#973664
accent
#3D91EB
background
#F5F8F6
surface
#EAF0EC
border
#C6CBC7
text
#050C07
muted
#797D7A

Preview Lab

Preview with #125F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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