#126839#126839

#126839 is a mid, moderate green. Relative luminance 0.103; OKLCH L 45.7% C 0.109 H 153.4°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#126839
RGBrgb(18, 104, 57)
HSLhsl(147, 70%, 24%)
HSVhsv(147, 83%, 41%)
CMYKcmyk(82.7%, 0%, 45.2%, 59.2%)
CIE-LABlab(38.42, -36.16, 19.67)
CIE-LCHlch(38.42, 41.17, 151.46°)
OKLaboklab(45.68% -0.0973 0.0487)
OKLCHoklch(45.68% 0.109 153.4)
XYZxyz(5.9377, 10.3239, 5.5499)
Luminance0.1032 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126839 #681241
analogous
#166812 #126839 #126864
triadic
#126839 #391268 #683912
tetradic
#126839 #121668 #681241 #686412
square
#126839 #121668 #681241 #686412
split-complementary
#126839 #641268 #681216
monochromatic
#051A0E #09341C #126839 #1B9C56 #24D072

Accessibility & contrast

On white

6.85
#126839 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#126839 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126839
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126839#FFFFFF#000000##FFFFFF
##1268391.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685F36
Deuteranopia (green-blind)
#5E583C
Tritanopia (blue-blind)
#00675C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #126839;
/* rgb */ color: rgb(18, 104, 57);
/* oklch */ color: oklch(45.7% 0.109 153.4);
Tailwind
colors: {
  custom: {
    50: '#609470',
    500: '#126839',
    950: '#000000',
  },
}
SCSS
$custom: #126839;
$custom-light: #609470;
$custom-dark: #000000;
JSON
{
  "hex": "#126839",
  "rgb": {
    "r": 18,
    "g": 104,
    "b": 57
  },
  "hsl": {
    "h": 147.209,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45685,
    "c": 0.10876,
    "h": 153.4
  },
  "luminance": 0.10325
}

Semantic roles & 50–950 ramp

primary
#126839
secondary
#A03670
accent
#3B9CED
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#050D07
muted
#7A7E7A

Preview Lab

Preview with #126839

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

Preview Lab → · Contrast checker → · Palette generator →

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