#126434#126434

#126434 is a dark, moderate green. Relative luminance 0.095; OKLCH L 44.4% C 0.108 H 152.1°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#126434
RGBrgb(18, 100, 52)
HSLhsl(145, 69%, 23%)
HSVhsv(145, 82%, 39%)
CMYKcmyk(82%, 0%, 48%, 60.8%)
CIE-LABlab(36.91, -35.54, 20.60)
CIE-LCHlch(36.91, 41.08, 149.90°)
OKLaboklab(44.41% -0.0955 0.0507)
OKLCHoklch(44.41% 0.108 152.1)
XYZxyz(5.4260, 9.4902, 4.7940)
Luminance0.0949 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126434 #641242
analogous
#196412 #126434 #12645D
triadic
#126434 #341264 #643412
tetradic
#126434 #121964 #641242 #645D12
square
#126434 #121964 #641242 #645D12
split-complementary
#126434 #5D1264 #641219
monochromatic
#051A0D #093019 #126434 #1B984F #25CC6A

Accessibility & contrast

On white

7.25
#126434 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#126434 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126434
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126434#FFFFFF#000000##FFFFFF
##1264341.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645B30
Deuteranopia (green-blind)
#5B5437
Tritanopia (blue-blind)
#006258
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #126434;
/* rgb */ color: rgb(18, 100, 52);
/* oklch */ color: oklch(44.4% 0.108 152.1);
Tailwind
colors: {
  custom: {
    50: '#5f916c',
    500: '#126434',
    950: '#000000',
  },
}
SCSS
$custom: #126434;
$custom-light: #5f916c;
$custom-dark: #000000;
JSON
{
  "hex": "#126434",
  "rgb": {
    "r": 18,
    "g": 100,
    "b": 52
  },
  "hsl": {
    "h": 144.878,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.44412,
    "c": 0.10814,
    "h": 152.1
  },
  "luminance": 0.09491
}

Semantic roles & 50–950 ramp

primary
#126434
secondary
#9C3672
accent
#3BA3EC
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#050D07
muted
#7A7E7A

Preview Lab

Preview with #126434

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

Preview Lab → · Contrast checker → · Palette generator →

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