#125915#125915

#125915 is a dark, vivid green. Relative luminance 0.073; OKLCH L 40.7% C 0.121 H 143.4°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#125915
RGBrgb(18, 89, 21)
HSLhsl(123, 66%, 21%)
HSVhsv(123, 80%, 35%)
CMYKcmyk(79.8%, 0%, 76.4%, 65.1%)
CIE-LABlab(32.54, -35.93, 31.68)
CIE-LCHlch(32.54, 47.90, 138.60°)
OKLaboklab(40.66% -0.0974 0.0722)
OKLCHoklch(40.66% 0.121 143.4)
XYZxyz(3.9569, 7.3270, 1.9150)
Luminance0.0733 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125915 #591256
analogous
#325912 #125915 #125938
triadic
#125915 #151259 #591512
tetradic
#125915 #123259 #591256 #593812
square
#125915 #123259 #591256 #593812
split-complementary
#125915 #381259 #591232
monochromatic
#051906 #082609 #125915 #1C8C21 #27BF2D

Accessibility & contrast

On white

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

On black

2.47
#125915 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##125915#FFFFFF#000000##FFFFFF
##1259151.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B500A
Deuteranopia (green-blind)
#534A1C
Tritanopia (blue-blind)
#00564C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #125915;
/* rgb */ color: rgb(18, 89, 21);
/* oklch */ color: oklch(40.7% 0.121 143.4);
Tailwind
colors: {
  custom: {
    50: '#5e8957',
    500: '#125915',
    950: '#000000',
  },
}
SCSS
$custom: #125915;
$custom-light: #5e8957;
$custom-dark: #000000;
JSON
{
  "hex": "#125915",
  "rgb": {
    "r": 18,
    "g": 89,
    "b": 21
  },
  "hsl": {
    "h": 122.535,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.40663,
    "c": 0.12126,
    "h": 143.4
  },
  "luminance": 0.07327
}

Semantic roles & 50–950 ramp

primary
#125915
secondary
#92358E
accent
#3FE2E9
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #125915

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

Preview Lab → · Contrast checker → · Palette generator →

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