#125C38#125C38

#125C38 is a dark, moderate teal. Relative luminance 0.081; OKLCH L 42.1% C 0.092 H 156.7°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#125C38
RGBrgb(18, 92, 56)
HSLhsl(151, 67%, 22%)
HSVhsv(151, 80%, 36%)
CMYKcmyk(80.4%, 0%, 39.1%, 63.9%)
CIE-LABlab(34.12, -31.36, 14.58)
CIE-LCHlch(34.12, 34.59, 155.06°)
OKLaboklab(42.13% -0.0848 0.0366)
OKLCHoklch(42.13% 0.092 156.7)
XYZxyz(4.7899, 8.0678, 5.0454)
Luminance0.0807 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125C38 #5C1236
analogous
#125C13 #125C38 #125B5C
triadic
#125C38 #38125C #5C3812
tetradic
#125C38 #13125C #5C1236 #5B5C12
square
#125C38 #13125C #5C1236 #5B5C12
split-complementary
#125C38 #5C125B #5C1312
monochromatic
#051A10 #082919 #125C38 #1C8F57 #26C276

Accessibility & contrast

On white

8.03
#125C38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#125C38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125C38
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125C38#FFFFFF#000000##FFFFFF
##125C381.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5436
Deuteranopia (green-blind)
#524E3A
Tritanopia (blue-blind)
#005B53
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #125c38;
/* rgb */ color: rgb(18, 92, 56);
/* oklch */ color: oklch(42.1% 0.092 156.7);
Tailwind
colors: {
  custom: {
    50: '#5d8b6f',
    500: '#125c38',
    950: '#000000',
  },
}
SCSS
$custom: #125c38;
$custom-light: #5d8b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#125c38",
  "rgb": {
    "r": 18,
    "g": 92,
    "b": 56
  },
  "hsl": {
    "h": 150.811,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42134,
    "c": 0.09235,
    "h": 156.7
  },
  "luminance": 0.08068
}

Semantic roles & 50–950 ramp

primary
#125C38
secondary
#943564
accent
#3E92EA
background
#F5F8F6
surface
#E9F0EC
border
#C5CBC7
text
#050C07
muted
#797D7A

Preview Lab

Preview with #125C38

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

Preview Lab → · Contrast checker → · Palette generator →

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