#125B2D#125B2D

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

Color values

HEX#125B2D
RGBrgb(18, 91, 45)
HSLhsl(142, 67%, 21%)
HSVhsv(142, 80%, 36%)
CMYKcmyk(80.2%, 0%, 50.5%, 64.3%)
CIE-LABlab(33.56, -33.23, 20.37)
CIE-LCHlch(33.56, 38.98, 148.50°)
OKLaboklab(41.61% -0.0894 0.0498)
OKLCHoklch(41.61% 0.102 150.9)
XYZxyz(4.4638, 7.7997, 3.7524)
Luminance0.0780 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125B2D #5B1240
analogous
#1C5B12 #125B2D #125B52
triadic
#125B2D #2D125B #5B2D12
tetradic
#125B2D #121C5B #5B1240 #5B5212
square
#125B2D #121C5B #5B1240 #5B5212
split-complementary
#125B2D #52125B #5B121C
monochromatic
#051A0D #082814 #125B2D #1C8E46 #26C160

Accessibility & contrast

On white

8.20
#125B2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125B2D
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125B2D#FFFFFF#000000##FFFFFF
##125B2D1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #125b2d;
/* rgb */ color: rgb(18, 91, 45);
/* oklch */ color: oklch(41.6% 0.102 150.9);
Tailwind
colors: {
  custom: {
    50: '#5d8a67',
    500: '#125b2d',
    950: '#000000',
  },
}
SCSS
$custom: #125b2d;
$custom-light: #5d8a67;
$custom-dark: #000000;
JSON
{
  "hex": "#125b2d",
  "rgb": {
    "r": 18,
    "g": 91,
    "b": 45
  },
  "hsl": {
    "h": 142.192,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.41605,
    "c": 0.10231,
    "h": 150.9
  },
  "luminance": 0.078
}

Semantic roles & 50–950 ramp

primary
#125B2D
secondary
#933571
accent
#3EAAEA
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #125B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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