#125B2E#125B2E

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

Color values

HEX#125B2E
RGBrgb(18, 91, 46)
HSLhsl(143, 67%, 21%)
HSVhsv(143, 80%, 36%)
CMYKcmyk(80.2%, 0%, 49.5%, 64.3%)
CIE-LABlab(33.58, -33.04, 19.81)
CIE-LCHlch(33.58, 38.53, 149.06°)
OKLaboklab(41.62% -0.0889 0.0486)
OKLCHoklch(41.62% 0.101 151.3)
XYZxyz(4.4833, 7.8075, 3.8550)
Luminance0.0781 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125B2E #5B123F
analogous
#1B5B12 #125B2E #125B53
triadic
#125B2E #2E125B #5B2E12
tetradic
#125B2E #121B5B #5B123F #5B5312
square
#125B2E #121B5B #5B123F #5B5312
split-complementary
#125B2E #53125B #5B121B
monochromatic
#051A0D #082814 #125B2E #1C8E48 #26C162

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##125B2E#FFFFFF#000000##FFFFFF
##125B2E1.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)
#5B532B
Deuteranopia (green-blind)
#534D31
Tritanopia (blue-blind)
#005950
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #125b2e;
/* rgb */ color: rgb(18, 91, 46);
/* oklch */ color: oklch(41.6% 0.101 151.3);
Tailwind
colors: {
  custom: {
    50: '#5d8a67',
    500: '#125b2e',
    950: '#000000',
  },
}
SCSS
$custom: #125b2e;
$custom-light: #5d8a67;
$custom-dark: #000000;
JSON
{
  "hex": "#125b2e",
  "rgb": {
    "r": 18,
    "g": 91,
    "b": 46
  },
  "hsl": {
    "h": 143.014,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.41624,
    "c": 0.10128,
    "h": 151.3
  },
  "luminance": 0.07808
}

Semantic roles & 50–950 ramp

primary
#125B2E
secondary
#93356F
accent
#3EA8EA
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #125B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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