#125A2F#125A2F

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

Color values

HEX#125A2F
RGBrgb(18, 90, 47)
HSLhsl(144, 67%, 21%)
HSVhsv(144, 80%, 35%)
CMYKcmyk(80%, 0%, 47.8%, 64.7%)
CIE-LABlab(33.23, -32.43, 18.78)
CIE-LCHlch(33.23, 37.48, 149.93°)
OKLaboklab(41.34% -0.0873 0.0463)
OKLCHoklch(41.34% 0.099 152.1)
XYZxyz(4.4183, 7.6456, 3.9317)
Luminance0.0765 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125A2F #5A123D
analogous
#195A12 #125A2F #125A53
triadic
#125A2F #2F125A #5A2F12
tetradic
#125A2F #12195A #5A123D #5A5312
square
#125A2F #12195A #5A123D #5A5312
split-complementary
#125A2F #53125A #5A1219
monochromatic
#051A0D #082714 #125A2F #1C8D4A #26C064

Accessibility & contrast

On white

8.30
#125A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125A2F
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125A2F#FFFFFF#000000##FFFFFF
##125A2F1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A522C
Deuteranopia (green-blind)
#524C32
Tritanopia (blue-blind)
#005950
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #125a2f;
/* rgb */ color: rgb(18, 90, 47);
/* oklch */ color: oklch(41.3% 0.099 152.1);
Tailwind
colors: {
  custom: {
    50: '#5d8968',
    500: '#125a2f',
    950: '#000000',
  },
}
SCSS
$custom: #125a2f;
$custom-light: #5d8968;
$custom-dark: #000000;
JSON
{
  "hex": "#125a2f",
  "rgb": {
    "r": 18,
    "g": 90,
    "b": 47
  },
  "hsl": {
    "h": 144.167,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41344,
    "c": 0.09877,
    "h": 152.1
  },
  "luminance": 0.07646
}

Semantic roles & 50–950 ramp

primary
#125A2F
secondary
#93356D
accent
#3EA5EA
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #125A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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