#125A2E#125A2E

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

Color values

HEX#125A2E
RGBrgb(18, 90, 46)
HSLhsl(143, 67%, 21%)
HSVhsv(143, 80%, 35%)
CMYKcmyk(80%, 0%, 48.9%, 64.7%)
CIE-LABlab(33.22, -32.63, 19.35)
CIE-LCHlch(33.22, 37.93, 149.34°)
OKLaboklab(41.33% -0.0878 0.0475)
OKLCHoklch(41.33% 0.1 151.6)
XYZxyz(4.3984, 7.6377, 3.8266)
Luminance0.0764 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125A2E #5A123E
analogous
#1A5A12 #125A2E #125A52
triadic
#125A2E #2E125A #5A2E12
tetradic
#125A2E #121A5A #5A123E #5A5212
square
#125A2E #121A5A #5A123E #5A5212
split-complementary
#125A2E #52125A #5A121A
monochromatic
#051A0D #082714 #125A2E #1C8D48 #26C062

Accessibility & contrast

On white

8.31
#125A2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#125A2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125A2E
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125A2E#FFFFFF#000000##FFFFFF
##125A2E1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #125a2e;
/* rgb */ color: rgb(18, 90, 46);
/* oklch */ color: oklch(41.3% 0.100 151.6);
Tailwind
colors: {
  custom: {
    50: '#5d8967',
    500: '#125a2e',
    950: '#000000',
  },
}
SCSS
$custom: #125a2e;
$custom-light: #5d8967;
$custom-dark: #000000;
JSON
{
  "hex": "#125a2e",
  "rgb": {
    "r": 18,
    "g": 90,
    "b": 46
  },
  "hsl": {
    "h": 143.333,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41325,
    "c": 0.09981,
    "h": 151.6
  },
  "luminance": 0.07638
}

Semantic roles & 50–950 ramp

primary
#125A2E
secondary
#93356E
accent
#3EA7EA
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #125A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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