#126312#126312

#126312 is a dark, vivid green. Relative luminance 0.091; OKLCH L 43.7% C 0.136 H 142.8°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#126312
RGBrgb(18, 99, 18)
HSLhsl(120, 69%, 23%)
HSVhsv(120, 82%, 39%)
CMYKcmyk(81.8%, 0%, 81.8%, 61.2%)
CIE-LABlab(36.17, -39.79, 36.53)
CIE-LCHlch(36.17, 54.01, 137.44°)
OKLaboklab(43.67% -0.108 0.0819)
OKLCHoklch(43.67% 0.136 142.8)
XYZxyz(4.8202, 9.0954, 2.0737)
Luminance0.0910 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126312 #631263
analogous
#3A6312 #126312 #12633A
triadic
#126312 #121263 #631212
tetradic
#126312 #123A63 #631263 #633A12
square
#126312 #123A63 #631263 #633A12
split-complementary
#126312 #3A1263 #63123A
monochromatic
#051A05 #092F09 #126312 #1B971B #25CB25

Accessibility & contrast

On white

7.45
#126312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#126312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126312
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126312#FFFFFF#000000##FFFFFF
##1263121.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655901
Deuteranopia (green-blind)
#5C531B
Tritanopia (blue-blind)
#006054
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #126312;
/* rgb */ color: rgb(18, 99, 18);
/* oklch */ color: oklch(43.7% 0.136 142.8);
Tailwind
colors: {
  custom: {
    50: '#619057',
    500: '#126312',
    950: '#000000',
  },
}
SCSS
$custom: #126312;
$custom-light: #619057;
$custom-dark: #000000;
JSON
{
  "hex": "#126312",
  "rgb": {
    "r": 18,
    "g": 99,
    "b": 18
  },
  "hsl": {
    "h": 120,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.43671,
    "c": 0.13555,
    "h": 142.8
  },
  "luminance": 0.09096
}

Semantic roles & 50–950 ramp

primary
#126312
secondary
#9B369B
accent
#3CECEC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060D03
muted
#7A7D78

Preview Lab

Preview with #126312

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

Preview Lab → · Contrast checker → · Palette generator →

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