#124308#124308

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

Color values

HEX#124308
RGBrgb(18, 67, 8)
HSLhsl(110, 79%, 15%)
HSVhsv(110, 88%, 26%)
CMYKcmyk(73.1%, 0%, 88.1%, 73.7%)
CIE-LABlab(24.19, -28.62, 28.68)
CIE-LCHlch(24.19, 40.52, 134.95°)
OKLaboklab(33.71% -0.0783 0.064)
OKLCHoklch(33.71% 0.101 140.8)
XYZxyz(2.3003, 4.1602, 0.9115)
Luminance0.0416 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124308 #390843
analogous
#2F4308 #124308 #08431C
triadic
#124308 #081243 #430812
tetradic
#124308 #082F43 #390843 #431C08
square
#124308 #082F43 #390843 #431C08
split-complementary
#124308 #1C0843 #43082F
monochromatic
#071B03 #071B03 #124308 #217A0F #2FB015

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##124308#FFFFFF#000000##FFFFFF
##1243081.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)
#453C00
Deuteranopia (green-blind)
#3F380F
Tritanopia (blue-blind)
#094138
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #124308;
/* rgb */ color: rgb(18, 67, 8);
/* oklch */ color: oklch(33.7% 0.101 140.8);
Tailwind
colors: {
  custom: {
    50: '#58784d',
    500: '#124308',
    950: '#000000',
  },
}
SCSS
$custom: #124308;
$custom-light: #58784d;
$custom-dark: #000000;
JSON
{
  "hex": "#124308",
  "rgb": {
    "r": 18,
    "g": 67,
    "b": 8
  },
  "hsl": {
    "h": 109.831,
    "s": 78.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.33709,
    "c": 0.10115,
    "h": 140.8
  },
  "luminance": 0.0416
}

Semantic roles & 50–950 ramp

primary
#124308
secondary
#722581
accent
#33F5D4
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040901
muted
#797B77

Preview Lab

Preview with #124308

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

Preview Lab → · Contrast checker → · Palette generator →

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