#125B2B#125B2B

#125B2B is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.6% C 0.104 H 150.0°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#125B2B
RGBrgb(18, 91, 43)
HSLhsl(141, 67%, 21%)
HSVhsv(141, 80%, 36%)
CMYKcmyk(80.2%, 0%, 52.7%, 64.3%)
CIE-LABlab(33.53, -33.61, 21.48)
CIE-LCHlch(33.53, 39.88, 147.42°)
OKLaboklab(41.57% -0.0903 0.0523)
OKLCHoklch(41.57% 0.104 150)
XYZxyz(4.4262, 7.7847, 3.5543)
Luminance0.0779 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125B2B #5B1242
analogous
#1E5B12 #125B2B #125B50
triadic
#125B2B #2B125B #5B2B12
tetradic
#125B2B #121E5B #5B1242 #5B5012
square
#125B2B #121E5B #5B1242 #5B5012
split-complementary
#125B2B #50125B #5B121E
monochromatic
#051A0C #082813 #125B2B #1C8E43 #26C15B

Accessibility & contrast

On white

8.21
#125B2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#125B2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125B2B
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125B2B#FFFFFF#000000##FFFFFF
##125B2B1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5227
Deuteranopia (green-blind)
#534C2E
Tritanopia (blue-blind)
#005950
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #125b2b;
/* rgb */ color: rgb(18, 91, 43);
/* oklch */ color: oklch(41.6% 0.104 150.0);
Tailwind
colors: {
  custom: {
    50: '#5d8a65',
    500: '#125b2b',
    950: '#000000',
  },
}
SCSS
$custom: #125b2b;
$custom-light: #5d8a65;
$custom-dark: #000000;
JSON
{
  "hex": "#125b2b",
  "rgb": {
    "r": 18,
    "g": 91,
    "b": 43
  },
  "hsl": {
    "h": 140.548,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.41568,
    "c": 0.10437,
    "h": 150
  },
  "luminance": 0.07785
}

Semantic roles & 50–950 ramp

primary
#125B2B
secondary
#933573
accent
#3EAFEA
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C05
muted
#797D7A

Preview Lab

Preview with #125B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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