#124226#124226

#124226 is a dark, moderate green. Relative luminance 0.042; OKLCH L 33.8% C 0.071 H 154.1°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#124226
RGBrgb(18, 66, 38)
HSLhsl(145, 57%, 16%)
HSVhsv(145, 73%, 26%)
CMYKcmyk(72.7%, 0%, 42.4%, 74.1%)
CIE-LABlab(24.21, -23.68, 12.46)
CIE-LCHlch(24.21, 26.76, 152.26°)
OKLaboklab(33.85% -0.0641 0.0312)
OKLCHoklch(33.85% 0.071 154.1)
XYZxyz(2.5473, 4.1647, 2.5030)
Luminance0.0416 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124226 #42122E
analogous
#164212 #124226 #12423E
triadic
#124226 #261242 #422612
tetradic
#124226 #121642 #42122E #423E12
square
#124226 #121642 #42122E #423E12
split-complementary
#124226 #3E1242 #421216
monochromatic
#07180E #07180E #124226 #1F7242 #2CA25D

Accessibility & contrast

On white

11.46
#124226 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#124226 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124226
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124226#FFFFFF#000000##FFFFFF
##1242261.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423C24
Deuteranopia (green-blind)
#3C3828
Tritanopia (blue-blind)
#00413B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #124226;
/* rgb */ color: rgb(18, 66, 38);
/* oklch */ color: oklch(33.8% 0.071 154.1);
Tailwind
colors: {
  custom: {
    50: '#577760',
    500: '#124226',
    950: '#000000',
  },
}
SCSS
$custom: #124226;
$custom-light: #577760;
$custom-dark: #000000;
JSON
{
  "hex": "#124226",
  "rgb": {
    "r": 18,
    "g": 66,
    "b": 38
  },
  "hsl": {
    "h": 145,
    "s": 57.143,
    "l": 16.471
  },
  "oklch": {
    "l": 0.33849,
    "c": 0.07126,
    "h": 154.1
  },
  "luminance": 0.04165
}

Semantic roles & 50–950 ramp

primary
#124226
secondary
#7B355E
accent
#47A1E0
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030805
muted
#787B79

Preview Lab

Preview with #124226

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

Preview Lab → · Contrast checker → · Palette generator →

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