#125830#125830

#125830 is a dark, moderate green. Relative luminance 0.073; OKLCH L 40.8% C 0.095 H 153.2°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#125830
RGBrgb(18, 88, 48)
HSLhsl(146, 66%, 21%)
HSVhsv(146, 80%, 35%)
CMYKcmyk(79.5%, 0%, 45.5%, 65.5%)
CIE-LABlab(32.53, -31.39, 17.27)
CIE-LCHlch(32.53, 35.83, 151.18°)
OKLaboklab(40.77% -0.0845 0.0428)
OKLCHoklch(40.77% 0.095 153.2)
XYZxyz(4.2723, 7.3209, 3.9837)
Luminance0.0732 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125830 #58123A
analogous
#175812 #125830 #125853
triadic
#125830 #301258 #583012
tetradic
#125830 #121758 #58123A #585312
square
#125830 #121758 #58123A #585312
split-complementary
#125830 #531258 #581217
monochromatic
#05190E #082514 #125830 #1C8B4C #27BE67

Accessibility & contrast

On white

8.52
#125830 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#125830 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125830
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125830#FFFFFF#000000##FFFFFF
##1258301.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58502D
Deuteranopia (green-blind)
#504A33
Tritanopia (blue-blind)
#00574E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #125830;
/* rgb */ color: rgb(18, 88, 48);
/* oklch */ color: oklch(40.8% 0.095 153.2);
Tailwind
colors: {
  custom: {
    50: '#5c8869',
    500: '#125830',
    950: '#000000',
  },
}
SCSS
$custom: #125830;
$custom-light: #5c8869;
$custom-dark: #000000;
JSON
{
  "hex": "#125830",
  "rgb": {
    "r": 18,
    "g": 88,
    "b": 48
  },
  "hsl": {
    "h": 145.714,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40766,
    "c": 0.09475,
    "h": 153.2
  },
  "luminance": 0.07321
}

Semantic roles & 50–950 ramp

primary
#125830
secondary
#913569
accent
#3FA0E9
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050B06
muted
#797C7A

Preview Lab

Preview with #125830

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

Preview Lab → · Contrast checker → · Palette generator →

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