#125C1B#125C1B

#125C1B is a dark, vivid green. Relative luminance 0.079; OKLCH L 41.6% C 0.121 H 144.6°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#125C1B
RGBrgb(18, 92, 27)
HSLhsl(127, 67%, 22%)
HSVhsv(127, 80%, 36%)
CMYKcmyk(80.4%, 0%, 70.7%, 63.9%)
CIE-LABlab(33.69, -36.39, 30.16)
CIE-LCHlch(33.69, 47.26, 140.35°)
OKLaboklab(41.64% -0.0983 0.0698)
OKLCHoklch(41.64% 0.121 144.6)
XYZxyz(4.2741, 7.8615, 2.3289)
Luminance0.0786 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125C1B #5C1253
analogous
#2E5C12 #125C1B #125C40
triadic
#125C1B #1B125C #5C1B12
tetradic
#125C1B #122E5C #5C1253 #5C4012
square
#125C1B #122E5C #5C1253 #5C4012
split-complementary
#125C1B #40125C #5C122E
monochromatic
#051A08 #08290C #125C1B #1C8F2A #26C239

Accessibility & contrast

On white

8.16
#125C1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#125C1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125C1B
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125C1B#FFFFFF#000000##FFFFFF
##125C1B1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5313
Deuteranopia (green-blind)
#554D21
Tritanopia (blue-blind)
#00594F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #125c1b;
/* rgb */ color: rgb(18, 92, 27);
/* oklch */ color: oklch(41.6% 0.121 144.6);
Tailwind
colors: {
  custom: {
    50: '#5e8b5b',
    500: '#125c1b',
    950: '#000000',
  },
}
SCSS
$custom: #125c1b;
$custom-light: #5e8b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#125c1b",
  "rgb": {
    "r": 18,
    "g": 92,
    "b": 27
  },
  "hsl": {
    "h": 127.297,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.41638,
    "c": 0.1206,
    "h": 144.6
  },
  "luminance": 0.07862
}

Semantic roles & 50–950 ramp

primary
#125C1B
secondary
#943589
accent
#3ED5EA
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #125C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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