#125C35#125C35

#125C35 is a dark, moderate green. Relative luminance 0.080; OKLCH L 42.1% C 0.095 H 154.8°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#125C35
RGBrgb(18, 92, 53)
HSLhsl(148, 67%, 22%)
HSVhsv(148, 80%, 36%)
CMYKcmyk(80.4%, 0%, 42.4%, 63.9%)
CIE-LABlab(34.06, -32.03, 16.31)
CIE-LCHlch(34.06, 35.94, 153.02°)
OKLaboklab(42.07% -0.0864 0.0407)
OKLCHoklch(42.07% 0.095 154.8)
XYZxyz(4.7188, 8.0394, 4.6705)
Luminance0.0804 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125C35 #5C1239
analogous
#145C12 #125C35 #125C5A
triadic
#125C35 #35125C #5C3512
tetradic
#125C35 #12145C #5C1239 #5C5A12
square
#125C35 #12145C #5C1239 #5C5A12
split-complementary
#125C35 #5A125C #5C1214
monochromatic
#051A0F #082918 #125C35 #1C8F52 #26C270

Accessibility & contrast

On white

8.05
#125C35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125C35
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125C35#FFFFFF#000000##FFFFFF
##125C351.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5432
Deuteranopia (green-blind)
#534E38
Tritanopia (blue-blind)
#005B52
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #125c35;
/* rgb */ color: rgb(18, 92, 53);
/* oklch */ color: oklch(42.1% 0.095 154.8);
Tailwind
colors: {
  custom: {
    50: '#5d8b6c',
    500: '#125c35',
    950: '#000000',
  },
}
SCSS
$custom: #125c35;
$custom-light: #5d8b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#125c35",
  "rgb": {
    "r": 18,
    "g": 92,
    "b": 53
  },
  "hsl": {
    "h": 148.378,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42066,
    "c": 0.09546,
    "h": 154.8
  },
  "luminance": 0.0804
}

Semantic roles & 50–950 ramp

primary
#125C35
secondary
#943567
accent
#3E99EA
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C07
muted
#797D7A

Preview Lab

Preview with #125C35

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

Preview Lab → · Contrast checker → · Palette generator →

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