#124826#124826

#124826 is a dark, moderate green. Relative luminance 0.049; OKLCH L 35.7% C 0.081 H 151.9°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#124826
RGBrgb(18, 72, 38)
HSLhsl(142, 60%, 18%)
HSVhsv(142, 75%, 28%)
CMYKcmyk(75%, 0%, 47.2%, 71.8%)
CIE-LABlab(26.46, -26.47, 15.42)
CIE-LCHlch(26.46, 30.63, 149.78°)
OKLaboklab(35.7% -0.0714 0.0381)
OKLCHoklch(35.7% 0.081 151.9)
XYZxyz(2.9164, 4.9030, 2.6260)
Luminance0.0490 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124826 #481234
analogous
#194812 #124826 #124841
triadic
#124826 #261248 #482612
tetradic
#124826 #121948 #481234 #484112
square
#124826 #121948 #481234 #484112
split-complementary
#124826 #411248 #481219
monochromatic
#06180D #06180D #124826 #1E7940 #2AAA5A

Accessibility & contrast

On white

10.60
#124826 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124826
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124826#FFFFFF#000000##FFFFFF
##1248261.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484124
Deuteranopia (green-blind)
#413D28
Tritanopia (blue-blind)
#004740
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #124826;
/* rgb */ color: rgb(18, 72, 38);
/* oklch */ color: oklch(35.7% 0.081 151.9);
Tailwind
colors: {
  custom: {
    50: '#587b60',
    500: '#124826',
    950: '#000000',
  },
}
SCSS
$custom: #124826;
$custom-light: #587b60;
$custom-dark: #000000;
JSON
{
  "hex": "#124826",
  "rgb": {
    "r": 18,
    "g": 72,
    "b": 38
  },
  "hsl": {
    "h": 142.222,
    "s": 60,
    "l": 17.647
  },
  "oklch": {
    "l": 0.35699,
    "c": 0.08093,
    "h": 151.9
  },
  "luminance": 0.04903
}

Semantic roles & 50–950 ramp

primary
#124826
secondary
#813565
accent
#45A8E3
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040905
muted
#797B79

Preview Lab

Preview with #124826

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

Preview Lab → · Contrast checker → · Palette generator →

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