#126218#126218

#126218 is a dark, vivid green. Relative luminance 0.089; OKLCH L 43.4% C 0.131 H 143.8°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#126218
RGBrgb(18, 98, 24)
HSLhsl(125, 69%, 23%)
HSVhsv(125, 82%, 38%)
CMYKcmyk(81.6%, 0%, 75.5%, 61.6%)
CIE-LABlab(35.85, -38.90, 33.82)
CIE-LCHlch(35.85, 51.55, 138.99°)
OKLaboklab(43.42% -0.1053 0.0772)
OKLCHoklch(43.42% 0.131 143.8)
XYZxyz(4.7817, 8.9293, 2.3355)
Luminance0.0893 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126218 #62125C
analogous
#346212 #126218 #126240
triadic
#126218 #181262 #621812
tetradic
#126218 #123462 #62125C #624012
square
#126218 #123462 #62125C #624012
split-complementary
#126218 #401262 #621234
monochromatic
#051A06 #092E0B #126218 #1B9625 #25C931

Accessibility & contrast

On white

7.54
#126218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#126218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126218
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126218#FFFFFF#000000##FFFFFF
##1262181.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64580C
Deuteranopia (green-blind)
#5B521F
Tritanopia (blue-blind)
#005F53
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #126218;
/* rgb */ color: rgb(18, 98, 24);
/* oklch */ color: oklch(43.4% 0.131 143.8);
Tailwind
colors: {
  custom: {
    50: '#60905a',
    500: '#126218',
    950: '#000000',
  },
}
SCSS
$custom: #126218;
$custom-light: #60905a;
$custom-dark: #000000;
JSON
{
  "hex": "#126218",
  "rgb": {
    "r": 18,
    "g": 98,
    "b": 24
  },
  "hsl": {
    "h": 124.5,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.43419,
    "c": 0.13053,
    "h": 143.8
  },
  "luminance": 0.0893
}

Semantic roles & 50–950 ramp

primary
#126218
secondary
#9A3693
accent
#3CDFEC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79

Preview Lab

Preview with #126218

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

Preview Lab → · Contrast checker → · Palette generator →

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