#125C2E#125C2E

#125C2E is a dark, moderate green. Relative luminance 0.080; OKLCH L 41.9% C 0.103 H 151.1°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#125C2E
RGBrgb(18, 92, 46)
HSLhsl(143, 67%, 22%)
HSVhsv(143, 80%, 36%)
CMYKcmyk(80.4%, 0%, 50%, 63.9%)
CIE-LABlab(33.94, -33.45, 20.27)
CIE-LCHlch(33.94, 39.12, 148.79°)
OKLaboklab(41.92% -0.0899 0.0497)
OKLCHoklch(41.92% 0.103 151.1)
XYZxyz(4.5693, 7.9796, 3.8836)
Luminance0.0798 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125C2E #5C1240
analogous
#1B5C12 #125C2E #125C53
triadic
#125C2E #2E125C #5C2E12
tetradic
#125C2E #121B5C #5C1240 #5C5312
square
#125C2E #121B5C #5C1240 #5C5312
split-complementary
#125C2E #53125C #5C121B
monochromatic
#051A0D #082914 #125C2E #1C8F48 #26C261

Accessibility & contrast

On white

8.09
#125C2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#125C2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125C2E
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125C2E#FFFFFF#000000##FFFFFF
##125C2E1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C532A
Deuteranopia (green-blind)
#544D31
Tritanopia (blue-blind)
#005A51
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #125c2e;
/* rgb */ color: rgb(18, 92, 46);
/* oklch */ color: oklch(41.9% 0.103 151.1);
Tailwind
colors: {
  custom: {
    50: '#5d8b67',
    500: '#125c2e',
    950: '#000000',
  },
}
SCSS
$custom: #125c2e;
$custom-light: #5d8b67;
$custom-dark: #000000;
JSON
{
  "hex": "#125c2e",
  "rgb": {
    "r": 18,
    "g": 92,
    "b": 46
  },
  "hsl": {
    "h": 142.703,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.41923,
    "c": 0.10274,
    "h": 151.1
  },
  "luminance": 0.0798
}

Semantic roles & 50–950 ramp

primary
#125C2E
secondary
#943570
accent
#3EA9EA
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #125C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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