#125F3B#125F3B

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

Color values

HEX#125F3B
RGBrgb(18, 95, 59)
HSLhsl(152, 68%, 22%)
HSVhsv(152, 81%, 37%)
CMYKcmyk(81.1%, 0%, 37.9%, 62.7%)
CIE-LABlab(35.26, -31.98, 14.30)
CIE-LCHlch(35.26, 35.03, 155.90°)
OKLaboklab(43.09% -0.0865 0.036)
OKLCHoklch(43.09% 0.094 157.4)
XYZxyz(5.1306, 8.6282, 5.5318)
Luminance0.0863 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125F3B #5F1236
analogous
#125F14 #125F3B #125D5F
triadic
#125F3B #3B125F #5F3B12
tetradic
#125F3B #14125F #5F1236 #5D5F12
square
#125F3B #14125F #5F1236 #5D5F12
split-complementary
#125F3B #5F125D #5F1412
monochromatic
#051A10 #082C1B #125F3B #1C925B #25C67B

Accessibility & contrast

On white

7.70
#125F3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#125F3B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125F3B
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125F3B#FFFFFF#000000##FFFFFF
##125F3B1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #125f3b;
/* rgb */ color: rgb(18, 95, 59);
/* oklch */ color: oklch(43.1% 0.094 157.4);
Tailwind
colors: {
  custom: {
    50: '#5e8d71',
    500: '#125f3b',
    950: '#000000',
  },
}
SCSS
$custom: #125f3b;
$custom-light: #5e8d71;
$custom-dark: #000000;
JSON
{
  "hex": "#125f3b",
  "rgb": {
    "r": 18,
    "g": 95,
    "b": 59
  },
  "hsl": {
    "h": 151.948,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.4309,
    "c": 0.0937,
    "h": 157.4
  },
  "luminance": 0.08629
}

Semantic roles & 50–950 ramp

primary
#125F3B
secondary
#973663
accent
#3D8EEB
background
#F5F8F6
surface
#EAF0EC
border
#C6CBC7
text
#050C07
muted
#797D7A

Preview Lab

Preview with #125F3B

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

Preview Lab → · Contrast checker → · Palette generator →

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