#126818#126818

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

Color values

HEX#126818
RGBrgb(18, 104, 24)
HSLhsl(124, 70%, 24%)
HSVhsv(124, 83%, 41%)
CMYKcmyk(82.7%, 0%, 76.9%, 59.2%)
CIE-LABlab(38.01, -41.02, 36.05)
CIE-LCHlch(38.01, 54.61, 138.68°)
OKLaboklab(45.22% -0.111 0.0818)
OKLCHoklch(45.22% 0.138 143.6)
XYZxyz(5.3643, 10.0945, 2.5297)
Luminance0.1009 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126818 #681262
analogous
#376812 #126818 #126843
triadic
#126818 #181268 #681812
tetradic
#126818 #123768 #681262 #684312
square
#126818 #123768 #681262 #684312
split-complementary
#126818 #431268 #681237
monochromatic
#051A06 #09340C #126818 #1B9C24 #24D030

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##126818#FFFFFF#000000##FFFFFF
##1268181.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)
#6A5D0A
Deuteranopia (green-blind)
#615720
Tritanopia (blue-blind)
#006558
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #126818;
/* rgb */ color: rgb(18, 104, 24);
/* oklch */ color: oklch(45.2% 0.138 143.6);
Tailwind
colors: {
  custom: {
    50: '#62945a',
    500: '#126818',
    950: '#000000',
  },
}
SCSS
$custom: #126818;
$custom-light: #62945a;
$custom-dark: #000000;
JSON
{
  "hex": "#126818",
  "rgb": {
    "r": 18,
    "g": 104,
    "b": 24
  },
  "hsl": {
    "h": 124.186,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45217,
    "c": 0.13793,
    "h": 143.6
  },
  "luminance": 0.10095
}

Semantic roles & 50–950 ramp

primary
#126818
secondary
#A03698
accent
#3BE1ED
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #126818

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

Preview Lab → · Contrast checker → · Palette generator →

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