#126214#126214

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

Color values

HEX#126214
RGBrgb(18, 98, 20)
HSLhsl(122, 69%, 23%)
HSVhsv(122, 82%, 38%)
CMYKcmyk(81.6%, 0%, 79.6%, 61.6%)
CIE-LABlab(35.82, -39.27, 35.43)
CIE-LCHlch(35.82, 52.89, 137.94°)
OKLaboklab(43.38% -0.1065 0.0799)
OKLCHoklch(43.38% 0.133 143.1)
XYZxyz(4.7431, 8.9139, 2.1323)
Luminance0.0891 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126214 #621260
analogous
#386212 #126214 #12623C
triadic
#126214 #141262 #621412
tetradic
#126214 #123862 #621260 #623C12
square
#126214 #123862 #621260 #623C12
split-complementary
#126214 #3C1262 #621238
monochromatic
#051A05 #092E09 #126214 #1B961F #25C929

Accessibility & contrast

On white

7.55
#126214 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#126214 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126214
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126214#FFFFFF#000000##FFFFFF
##1262141.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645805
Deuteranopia (green-blind)
#5B521D
Tritanopia (blue-blind)
#005F53
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #126214;
/* rgb */ color: rgb(18, 98, 20);
/* oklch */ color: oklch(43.4% 0.133 143.1);
Tailwind
colors: {
  custom: {
    50: '#609058',
    500: '#126214',
    950: '#000000',
  },
}
SCSS
$custom: #126214;
$custom-light: #609058;
$custom-dark: #000000;
JSON
{
  "hex": "#126214",
  "rgb": {
    "r": 18,
    "g": 98,
    "b": 20
  },
  "hsl": {
    "h": 121.5,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.43384,
    "c": 0.13316,
    "h": 143.1
  },
  "luminance": 0.08914
}

Semantic roles & 50–950 ramp

primary
#126214
secondary
#9A3698
accent
#3CE7EC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #126214

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

Preview Lab → · Contrast checker → · Palette generator →

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