#125A2B#125A2B

#125A2B is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.3% C 0.103 H 150.2°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#125A2B
RGBrgb(18, 90, 43)
HSLhsl(141, 67%, 21%)
HSVhsv(141, 80%, 35%)
CMYKcmyk(80%, 0%, 52.2%, 64.7%)
CIE-LABlab(33.17, -33.20, 21.02)
CIE-LCHlch(33.17, 39.30, 147.66°)
OKLaboklab(41.27% -0.0893 0.0512)
OKLCHoklch(41.27% 0.103 150.2)
XYZxyz(4.3413, 7.6148, 3.5260)
Luminance0.0761 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125A2B #5A1241
analogous
#1D5A12 #125A2B #125A4F
triadic
#125A2B #2B125A #5A2B12
tetradic
#125A2B #121D5A #5A1241 #5A4F12
square
#125A2B #121D5A #5A1241 #5A4F12
split-complementary
#125A2B #4F125A #5A121D
monochromatic
#051A0C #082713 #125A2B #1C8D43 #26C05C

Accessibility & contrast

On white

8.32
#125A2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#125A2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125A2B
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125A2B#FFFFFF#000000##FFFFFF
##125A2B1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5227
Deuteranopia (green-blind)
#524C2E
Tritanopia (blue-blind)
#00584F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #125a2b;
/* rgb */ color: rgb(18, 90, 43);
/* oklch */ color: oklch(41.3% 0.103 150.2);
Tailwind
colors: {
  custom: {
    50: '#5d8965',
    500: '#125a2b',
    950: '#000000',
  },
}
SCSS
$custom: #125a2b;
$custom-light: #5d8965;
$custom-dark: #000000;
JSON
{
  "hex": "#125a2b",
  "rgb": {
    "r": 18,
    "g": 90,
    "b": 43
  },
  "hsl": {
    "h": 140.833,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41268,
    "c": 0.10291,
    "h": 150.2
  },
  "luminance": 0.07615
}

Semantic roles & 50–950 ramp

primary
#125A2B
secondary
#933572
accent
#3EAEEA
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C05
muted
#797D7A

Preview Lab

Preview with #125A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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