#125B3F#125B3F

#125B3F is a dark, moderate teal. Relative luminance 0.080; OKLCH L 42.0% C 0.084 H 162.3°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#125B3F
RGBrgb(18, 91, 63)
HSLhsl(157, 67%, 21%)
HSVhsv(157, 80%, 36%)
CMYKcmyk(80.2%, 0%, 30.8%, 64.3%)
CIE-LABlab(33.92, -29.24, 10.03)
CIE-LCHlch(33.92, 30.91, 161.06°)
OKLaboklab(42.02% -0.0799 0.0255)
OKLCHoklch(42.02% 0.084 162.3)
XYZxyz(4.8872, 7.9691, 5.9823)
Luminance0.0797 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125B3F #5B122E
analogous
#125B1B #125B3F #12535B
triadic
#125B3F #3F125B #5B3F12
tetradic
#125B3F #1B125B #5B122E #535B12
square
#125B3F #1B125B #5B122E #535B12
split-complementary
#125B3F #5B1253 #5B1B12
monochromatic
#051A12 #08281C #125B3F #1C8E62 #26C186

Accessibility & contrast

On white

8.10
#125B3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#125B3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125B3F
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125B3F#FFFFFF#000000##FFFFFF
##125B3F1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59543D
Deuteranopia (green-blind)
#504D41
Tritanopia (blue-blind)
#005B53
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #125b3f;
/* rgb */ color: rgb(18, 91, 63);
/* oklch */ color: oklch(42.0% 0.084 162.3);
Tailwind
colors: {
  custom: {
    50: '#5d8a74',
    500: '#125b3f',
    950: '#000000',
  },
}
SCSS
$custom: #125b3f;
$custom-light: #5d8a74;
$custom-dark: #000000;
JSON
{
  "hex": "#125b3f",
  "rgb": {
    "r": 18,
    "g": 91,
    "b": 63
  },
  "hsl": {
    "h": 156.986,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42015,
    "c": 0.08389,
    "h": 162.3
  },
  "luminance": 0.0797
}

Semantic roles & 50–950 ramp

primary
#125B3F
secondary
#933559
accent
#3E80EA
background
#F5F8F7
surface
#E9F0ED
border
#C5CBC8
text
#050C08
muted
#797D7B

Preview Lab

Preview with #125B3F

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

Preview Lab → · Contrast checker → · Palette generator →

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