#126810#126810

#126810 is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.2% C 0.143 H 142.6°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#126810
RGBrgb(18, 104, 16)
HSLhsl(119, 73%, 24%)
HSVhsv(119, 85%, 41%)
CMYKcmyk(82.7%, 0%, 84.6%, 59.2%)
CIE-LABlab(37.96, -41.65, 38.94)
CIE-LCHlch(37.96, 57.02, 136.92°)
OKLaboklab(45.16% -0.1131 0.0867)
OKLCHoklch(45.16% 0.143 142.6)
XYZxyz(5.2930, 10.0660, 2.1541)
Luminance0.1007 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126810 #661068
analogous
#3E6810 #126810 #10683A
triadic
#126810 #101268 #681012
tetradic
#126810 #103E68 #661068 #683A10
square
#126810 #103E68 #661068 #683A10
split-complementary
#126810 #3A1068 #68103E
monochromatic
#051B04 #093308 #126810 #1B9D18 #24D220

Accessibility & contrast

On white

6.97
#126810 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#126810 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126810
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126810#FFFFFF#000000##FFFFFF
##1268101.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#61571B
Tritanopia (blue-blind)
#006558
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #126810;
/* rgb */ color: rgb(18, 104, 16);
/* oklch */ color: oklch(45.2% 0.143 142.6);
Tailwind
colors: {
  custom: {
    50: '#629457',
    500: '#126810',
    950: '#000000',
  },
}
SCSS
$custom: #126810;
$custom-light: #629457;
$custom-dark: #000000;
JSON
{
  "hex": "#126810",
  "rgb": {
    "r": 18,
    "g": 104,
    "b": 16
  },
  "hsl": {
    "h": 118.636,
    "s": 73.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.45158,
    "c": 0.14252,
    "h": 142.6
  },
  "luminance": 0.10067
}

Semantic roles & 50–950 ramp

primary
#126810
secondary
#9E34A0
accent
#38F0EC
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D03
muted
#7A7E78

Preview Lab

Preview with #126810

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

Preview Lab → · Contrast checker → · Palette generator →

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