#126814#126814

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

Color values

HEX#126814
RGBrgb(18, 104, 20)
HSLhsl(121, 70%, 24%)
HSVhsv(121, 83%, 41%)
CMYKcmyk(82.7%, 0%, 80.8%, 59.2%)
CIE-LABlab(37.98, -41.36, 37.58)
CIE-LCHlch(37.98, 55.88, 137.74°)
OKLaboklab(45.18% -0.1122 0.0844)
OKLCHoklch(45.18% 0.14 143)
XYZxyz(5.3257, 10.0791, 2.3265)
Luminance0.1008 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126814 #681266
analogous
#3B6812 #126814 #12683F
triadic
#126814 #141268 #681412
tetradic
#126814 #123B68 #681266 #683F12
square
#126814 #123B68 #681266 #683F12
split-complementary
#126814 #3F1268 #68123B
monochromatic
#051A05 #09340A #126814 #1B9C1E #24D028

Accessibility & contrast

On white

6.96
#126814 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#126814 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126814
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126814#FFFFFF#000000##FFFFFF
##1268141.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #126814;
/* rgb */ color: rgb(18, 104, 20);
/* oklch */ color: oklch(45.2% 0.140 143.0);
Tailwind
colors: {
  custom: {
    50: '#629458',
    500: '#126814',
    950: '#000000',
  },
}
SCSS
$custom: #126814;
$custom-light: #629458;
$custom-dark: #000000;
JSON
{
  "hex": "#126814",
  "rgb": {
    "r": 18,
    "g": 104,
    "b": 20
  },
  "hsl": {
    "h": 121.395,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45185,
    "c": 0.14038,
    "h": 143
  },
  "luminance": 0.1008
}

Semantic roles & 50–950 ramp

primary
#126814
secondary
#A0369D
accent
#3BE9ED
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #126814

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

Preview Lab → · Contrast checker → · Palette generator →

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