#124822#124822

#124822 is a dark, moderate green. Relative luminance 0.049; OKLCH L 35.6% C 0.085 H 149.5°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#124822
RGBrgb(18, 72, 34)
HSLhsl(138, 60%, 18%)
HSVhsv(138, 75%, 28%)
CMYKcmyk(75%, 0%, 52.8%, 71.8%)
CIE-LABlab(26.39, -27.27, 17.76)
CIE-LCHlch(26.39, 32.54, 146.92°)
OKLaboklab(35.62% -0.0735 0.0434)
OKLCHoklch(35.62% 0.085 149.5)
XYZxyz(2.8553, 4.8785, 2.3042)
Luminance0.0488 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124822 #481238
analogous
#1D4812 #124822 #12483D
triadic
#124822 #221248 #482212
tetradic
#124822 #121D48 #481238 #483D12
square
#124822 #121D48 #481238 #483D12
split-complementary
#124822 #3D1248 #48121D
monochromatic
#06180C #06180C #124822 #1E7939 #2AAA50

Accessibility & contrast

On white

10.63
#124822 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#124822 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124822
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124822#FFFFFF#000000##FFFFFF
##1248221.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49411F
Deuteranopia (green-blind)
#423D25
Tritanopia (blue-blind)
#00473F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #124822;
/* rgb */ color: rgb(18, 72, 34);
/* oklch */ color: oklch(35.6% 0.085 149.5);
Tailwind
colors: {
  custom: {
    50: '#587b5e',
    500: '#124822',
    950: '#000000',
  },
}
SCSS
$custom: #124822;
$custom-light: #587b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#124822",
  "rgb": {
    "r": 18,
    "g": 72,
    "b": 34
  },
  "hsl": {
    "h": 137.778,
    "s": 60,
    "l": 17.647
  },
  "oklch": {
    "l": 0.35618,
    "c": 0.08531,
    "h": 149.5
  },
  "luminance": 0.04879
}

Semantic roles & 50–950 ramp

primary
#124822
secondary
#81356A
accent
#45B4E3
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040904
muted
#797B79

Preview Lab

Preview with #124822

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

Preview Lab → · Contrast checker → · Palette generator →

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