#125826#125826

#125826 is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.6% C 0.105 H 148.4°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#125826
RGBrgb(18, 88, 38)
HSLhsl(137, 66%, 21%)
HSVhsv(137, 80%, 35%)
CMYKcmyk(79.5%, 0%, 56.8%, 65.5%)
CIE-LABlab(32.36, -33.27, 22.87)
CIE-LCHlch(32.36, 40.37, 145.50°)
OKLaboklab(40.58% -0.0895 0.0551)
OKLCHoklch(40.58% 0.105 148.4)
XYZxyz(4.0887, 7.2475, 3.0168)
Luminance0.0725 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125826 #581244
analogous
#215812 #125826 #125849
triadic
#125826 #261258 #582612
tetradic
#125826 #122158 #581244 #584912
square
#125826 #122158 #581244 #584912
split-complementary
#125826 #491258 #581221
monochromatic
#05190B #082510 #125826 #1C8B3C #27BE52

Accessibility & contrast

On white

8.57
#125826 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125826
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125826#FFFFFF#000000##FFFFFF
##1258261.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595022
Deuteranopia (green-blind)
#514A2A
Tritanopia (blue-blind)
#00564D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #125826;
/* rgb */ color: rgb(18, 88, 38);
/* oklch */ color: oklch(40.6% 0.105 148.4);
Tailwind
colors: {
  custom: {
    50: '#5c8861',
    500: '#125826',
    950: '#000000',
  },
}
SCSS
$custom: #125826;
$custom-light: #5c8861;
$custom-dark: #000000;
JSON
{
  "hex": "#125826",
  "rgb": {
    "r": 18,
    "g": 88,
    "b": 38
  },
  "hsl": {
    "h": 137.143,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40579,
    "c": 0.10509,
    "h": 148.4
  },
  "luminance": 0.07248
}

Semantic roles & 50–950 ramp

primary
#125826
secondary
#913576
accent
#3FB8E9
background
#F5F8F5
surface
#E9F0EA
border
#C5CBC6
text
#050B05
muted
#797C79

Preview Lab

Preview with #125826

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

Preview Lab → · Contrast checker → · Palette generator →

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