#125829#125829

#125829 is a dark, moderate green. Relative luminance 0.073; OKLCH L 40.6% C 0.102 H 149.7°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#125829
RGBrgb(18, 88, 41)
HSLhsl(140, 66%, 21%)
HSVhsv(140, 80%, 35%)
CMYKcmyk(79.5%, 0%, 53.4%, 65.5%)
CIE-LABlab(32.41, -32.75, 21.22)
CIE-LCHlch(32.41, 39.02, 147.06°)
OKLaboklab(40.63% -0.0881 0.0516)
OKLCHoklch(40.63% 0.102 149.7)
XYZxyz(4.1391, 7.2677, 3.2821)
Luminance0.0727 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125829 #581241
analogous
#1E5812 #125829 #12584C
triadic
#125829 #291258 #582912
tetradic
#125829 #121E58 #581241 #584C12
square
#125829 #121E58 #581241 #584C12
split-complementary
#125829 #4C1258 #58121E
monochromatic
#05190C #082511 #125829 #1C8B41 #27BE58

Accessibility & contrast

On white

8.56
#125829 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#125829 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125829
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125829#FFFFFF#000000##FFFFFF
##1258291.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595025
Deuteranopia (green-blind)
#504A2C
Tritanopia (blue-blind)
#00564D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #125829;
/* rgb */ color: rgb(18, 88, 41);
/* oklch */ color: oklch(40.6% 0.102 149.7);
Tailwind
colors: {
  custom: {
    50: '#5c8864',
    500: '#125829',
    950: '#000000',
  },
}
SCSS
$custom: #125829;
$custom-light: #5c8864;
$custom-dark: #000000;
JSON
{
  "hex": "#125829",
  "rgb": {
    "r": 18,
    "g": 88,
    "b": 41
  },
  "hsl": {
    "h": 139.714,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.4063,
    "c": 0.10205,
    "h": 149.7
  },
  "luminance": 0.07268
}

Semantic roles & 50–950 ramp

primary
#125829
secondary
#913573
accent
#3FB1E9
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050B05
muted
#797C7A

Preview Lab

Preview with #125829

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

Preview Lab → · Contrast checker → · Palette generator →

#125829 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva