#126213#126213

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

Color values

HEX#126213
RGBrgb(18, 98, 19)
HSLhsl(121, 69%, 23%)
HSVhsv(121, 82%, 38%)
CMYKcmyk(81.6%, 0%, 80.6%, 61.6%)
CIE-LABlab(35.81, -39.35, 35.81)
CIE-LCHlch(35.81, 53.21, 137.70°)
OKLaboklab(43.38% -0.1068 0.0806)
OKLCHoklch(43.38% 0.134 143)
XYZxyz(4.7344, 8.9104, 2.0863)
Luminance0.0891 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126213 #621261
analogous
#396212 #126213 #12623B
triadic
#126213 #131262 #621312
tetradic
#126213 #123962 #621261 #623B12
square
#126213 #123962 #621261 #623B12
split-complementary
#126213 #3B1262 #621239
monochromatic
#051A05 #092E09 #126213 #1B961D #25C927

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##126213#FFFFFF#000000##FFFFFF
##1262131.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)
#645803
Deuteranopia (green-blind)
#5C521C
Tritanopia (blue-blind)
#005F53
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #126213;
/* rgb */ color: rgb(18, 98, 19);
/* oklch */ color: oklch(43.4% 0.134 143.0);
Tailwind
colors: {
  custom: {
    50: '#609057',
    500: '#126213',
    950: '#000000',
  },
}
SCSS
$custom: #126213;
$custom-light: #609057;
$custom-dark: #000000;
JSON
{
  "hex": "#126213",
  "rgb": {
    "r": 18,
    "g": 98,
    "b": 19
  },
  "hsl": {
    "h": 120.75,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.43377,
    "c": 0.13377,
    "h": 143
  },
  "luminance": 0.08911
}

Semantic roles & 50–950 ramp

primary
#126213
secondary
#9A3699
accent
#3CEAEC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #126213

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

Preview Lab → · Contrast checker → · Palette generator →

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