#126815#126815

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

Color values

HEX#126815
RGBrgb(18, 104, 21)
HSLhsl(122, 70%, 24%)
HSVhsv(122, 83%, 41%)
CMYKcmyk(82.7%, 0%, 79.8%, 59.2%)
CIE-LABlab(37.99, -41.28, 37.21)
CIE-LCHlch(37.99, 55.58, 137.97°)
OKLaboklab(45.19% -0.1119 0.0838)
OKLCHoklch(45.19% 0.14 143.2)
XYZxyz(5.3348, 10.0827, 2.3743)
Luminance0.1008 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126815 #681265
analogous
#3A6812 #126815 #126840
triadic
#126815 #151268 #681512
tetradic
#126815 #123A68 #681265 #684012
square
#126815 #123A68 #681265 #684012
split-complementary
#126815 #401268 #68123A
monochromatic
#051A05 #09340A #126815 #1B9C20 #24D02A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##126815#FFFFFF#000000##FFFFFF
##1268151.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)
#6A5D04
Deuteranopia (green-blind)
#61571E
Tritanopia (blue-blind)
#006558
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #126815;
/* rgb */ color: rgb(18, 104, 21);
/* oklch */ color: oklch(45.2% 0.140 143.2);
Tailwind
colors: {
  custom: {
    50: '#629459',
    500: '#126815',
    950: '#000000',
  },
}
SCSS
$custom: #126815;
$custom-light: #629459;
$custom-dark: #000000;
JSON
{
  "hex": "#126815",
  "rgb": {
    "r": 18,
    "g": 104,
    "b": 21
  },
  "hsl": {
    "h": 122.093,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45193,
    "c": 0.1398,
    "h": 143.2
  },
  "luminance": 0.10083
}

Semantic roles & 50–950 ramp

primary
#126815
secondary
#A0369C
accent
#3BE7ED
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #126815

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

Preview Lab → · Contrast checker → · Palette generator →

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