#124628#124628

#124628 is a dark, moderate green. Relative luminance 0.047; OKLCH L 35.1% C 0.076 H 154.0°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#124628
RGBrgb(18, 70, 40)
HSLhsl(145, 59%, 17%)
HSVhsv(145, 74%, 27%)
CMYKcmyk(74.3%, 0%, 42.9%, 72.5%)
CIE-LABlab(25.75, -25.12, 13.24)
CIE-LCHlch(25.75, 28.40, 152.20°)
OKLaboklab(35.13% -0.0679 0.0331)
OKLCHoklch(35.13% 0.076 154)
XYZxyz(2.8224, 4.6618, 2.7581)
Luminance0.0466 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124628 #461230
analogous
#164612 #124628 #124642
triadic
#124628 #281246 #462812
tetradic
#124628 #121646 #461230 #464212
square
#124628 #121646 #461230 #464212
split-complementary
#124628 #421246 #461216
monochromatic
#06180E #06180E #124628 #1F7744 #2BA760

Accessibility & contrast

On white

10.87
#124628 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#124628 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124628
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124628#FFFFFF#000000##FFFFFF
##1246281.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464026
Deuteranopia (green-blind)
#3F3B2A
Tritanopia (blue-blind)
#00453E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #124628;
/* rgb */ color: rgb(18, 70, 40);
/* oklch */ color: oklch(35.1% 0.076 154.0);
Tailwind
colors: {
  custom: {
    50: '#577a62',
    500: '#124628',
    950: '#000000',
  },
}
SCSS
$custom: #124628;
$custom-light: #577a62;
$custom-dark: #000000;
JSON
{
  "hex": "#124628",
  "rgb": {
    "r": 18,
    "g": 70,
    "b": 40
  },
  "hsl": {
    "h": 145.385,
    "s": 59.091,
    "l": 17.255
  },
  "oklch": {
    "l": 0.35129,
    "c": 0.07553,
    "h": 154
  },
  "luminance": 0.04662
}

Semantic roles & 50–950 ramp

primary
#124628
secondary
#7F3560
accent
#46A0E2
background
#F5F7F5
surface
#E9EDEA
border
#C5C8C6
text
#030905
muted
#787B79

Preview Lab

Preview with #124628

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

Preview Lab → · Contrast checker → · Palette generator →

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