#126217#126217

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

Color values

HEX#126217
RGBrgb(18, 98, 23)
HSLhsl(124, 69%, 23%)
HSVhsv(124, 82%, 38%)
CMYKcmyk(81.6%, 0%, 76.5%, 61.6%)
CIE-LABlab(35.84, -39.00, 34.24)
CIE-LCHlch(35.84, 51.90, 138.72°)
OKLaboklab(43.41% -0.1056 0.0779)
OKLCHoklch(43.41% 0.131 143.6)
XYZxyz(4.7715, 8.9253, 2.2817)
Luminance0.0893 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126217 #62125D
analogous
#356212 #126217 #12623F
triadic
#126217 #171262 #621712
tetradic
#126217 #123562 #62125D #623F12
square
#126217 #123562 #62125D #623F12
split-complementary
#126217 #3F1262 #621235
monochromatic
#051A06 #092E0B #126217 #1B9623 #25C92F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##126217#FFFFFF#000000##FFFFFF
##1262171.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)
#64580A
Deuteranopia (green-blind)
#5B521F
Tritanopia (blue-blind)
#005F53
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #126217;
/* rgb */ color: rgb(18, 98, 23);
/* oklch */ color: oklch(43.4% 0.131 143.6);
Tailwind
colors: {
  custom: {
    50: '#609059',
    500: '#126217',
    950: '#000000',
  },
}
SCSS
$custom: #126217;
$custom-light: #609059;
$custom-dark: #000000;
JSON
{
  "hex": "#126217",
  "rgb": {
    "r": 18,
    "g": 98,
    "b": 23
  },
  "hsl": {
    "h": 123.75,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.4341,
    "c": 0.13122,
    "h": 143.6
  },
  "luminance": 0.08926
}

Semantic roles & 50–950 ramp

primary
#126217
secondary
#9A3694
accent
#3CE1EC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79

Preview Lab

Preview with #126217

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

Preview Lab → · Contrast checker → · Palette generator →

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