#126225#126225

#126225 is a dark, vivid green. Relative luminance 0.090; OKLCH L 43.6% C 0.120 H 146.8°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#126225
RGBrgb(18, 98, 37)
HSLhsl(134, 69%, 23%)
HSVhsv(134, 82%, 38%)
CMYKcmyk(81.6%, 0%, 62.2%, 61.6%)
CIE-LABlab(35.98, -37.32, 27.73)
CIE-LCHlch(35.98, 46.49, 143.38°)
OKLaboklab(43.57% -0.1004 0.0657)
OKLCHoklch(43.57% 0.12 146.8)
XYZxyz(4.9507, 8.9969, 3.2256)
Luminance0.0900 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126225 #62124F
analogous
#276212 #126225 #12624D
triadic
#126225 #251262 #622512
tetradic
#126225 #122762 #62124F #624D12
square
#126225 #122762 #62124F #624D12
split-complementary
#126225 #4D1262 #621227
monochromatic
#051A0A #092E11 #126225 #1B9639 #25C94C

Accessibility & contrast

On white

7.50
#126225 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#126225 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126225
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126225#FFFFFF#000000##FFFFFF
##1262251.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63581F
Deuteranopia (green-blind)
#5A522A
Tritanopia (blue-blind)
#006055
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #126225;
/* rgb */ color: rgb(18, 98, 37);
/* oklch */ color: oklch(43.6% 0.120 146.8);
Tailwind
colors: {
  custom: {
    50: '#5f8f62',
    500: '#126225',
    950: '#000000',
  },
}
SCSS
$custom: #126225;
$custom-light: #5f8f62;
$custom-dark: #000000;
JSON
{
  "hex": "#126225",
  "rgb": {
    "r": 18,
    "g": 98,
    "b": 37
  },
  "hsl": {
    "h": 134.25,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.43569,
    "c": 0.12,
    "h": 146.8
  },
  "luminance": 0.08998
}

Semantic roles & 50–950 ramp

primary
#126225
secondary
#9A3682
accent
#3CC2EC
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#050C05
muted
#7A7D79

Preview Lab

Preview with #126225

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

Preview Lab → · Contrast checker → · Palette generator →

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