#125A29#125A29

#125A29 is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.2% C 0.105 H 149.3°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#125A29
RGBrgb(18, 90, 41)
HSLhsl(139, 67%, 21%)
HSVhsv(139, 80%, 35%)
CMYKcmyk(80%, 0%, 54.4%, 64.7%)
CIE-LABlab(33.14, -33.56, 22.13)
CIE-LCHlch(33.14, 40.20, 146.60°)
OKLaboklab(41.23% -0.0902 0.0536)
OKLCHoklch(41.23% 0.105 149.3)
XYZxyz(4.3055, 7.6005, 3.3375)
Luminance0.0760 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125A29 #5A1243
analogous
#1F5A12 #125A29 #125A4D
triadic
#125A29 #29125A #5A2912
tetradic
#125A29 #121F5A #5A1243 #5A4D12
square
#125A29 #121F5A #5A1243 #5A4D12
split-complementary
#125A29 #4D125A #5A121F
monochromatic
#051A0C #082712 #125A29 #1C8D40 #26C057

Accessibility & contrast

On white

8.33
#125A29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#125A29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125A29
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125A29#FFFFFF#000000##FFFFFF
##125A291.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #125a29;
/* rgb */ color: rgb(18, 90, 41);
/* oklch */ color: oklch(41.2% 0.105 149.3);
Tailwind
colors: {
  custom: {
    50: '#5d8964',
    500: '#125a29',
    950: '#000000',
  },
}
SCSS
$custom: #125a29;
$custom-light: #5d8964;
$custom-dark: #000000;
JSON
{
  "hex": "#125a29",
  "rgb": {
    "r": 18,
    "g": 90,
    "b": 41
  },
  "hsl": {
    "h": 139.167,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41233,
    "c": 0.10495,
    "h": 149.3
  },
  "luminance": 0.07601
}

Semantic roles & 50–950 ramp

primary
#125A29
secondary
#933575
accent
#3EB3EA
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C05
muted
#797D7A

Preview Lab

Preview with #125A29

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

Preview Lab → · Contrast checker → · Palette generator →

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