#124208#124208

#124208 is a dark, moderate green. Relative luminance 0.040; OKLCH L 33.4% C 0.100 H 140.7°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#124208
RGBrgb(18, 66, 8)
HSLhsl(110, 78%, 15%)
HSVhsv(110, 88%, 26%)
CMYKcmyk(72.7%, 0%, 87.9%, 74.1%)
CIE-LABlab(23.81, -28.22, 28.30)
CIE-LCHlch(23.81, 39.96, 134.92°)
OKLaboklab(33.39% -0.0772 0.0632)
OKLCHoklch(33.39% 0.1 140.7)
XYZxyz(2.2414, 4.0423, 0.8918)
Luminance0.0404 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124208 #380842
analogous
#2F4208 #124208 #08421B
triadic
#124208 #081242 #420812
tetradic
#124208 #082F42 #380842 #421B08
square
#124208 #082F42 #380842 #421B08
split-complementary
#124208 #1B0842 #42082F
monochromatic
#071B03 #071B03 #124208 #21790F #30AF15

Accessibility & contrast

On white

11.61
#124208 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#124208 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124208
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124208#FFFFFF#000000##FFFFFF
##1242081.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B00
Deuteranopia (green-blind)
#3E370F
Tritanopia (blue-blind)
#0A4037
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #124208;
/* rgb */ color: rgb(18, 66, 8);
/* oklch */ color: oklch(33.4% 0.100 140.7);
Tailwind
colors: {
  custom: {
    50: '#58774d',
    500: '#124208',
    950: '#000000',
  },
}
SCSS
$custom: #124208;
$custom-light: #58774d;
$custom-dark: #000000;
JSON
{
  "hex": "#124208",
  "rgb": {
    "r": 18,
    "g": 66,
    "b": 8
  },
  "hsl": {
    "h": 109.655,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.33392,
    "c": 0.09982,
    "h": 140.7
  },
  "luminance": 0.04043
}

Semantic roles & 50–950 ramp

primary
#124208
secondary
#712580
accent
#33F5D3
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040801
muted
#797B77

Preview Lab

Preview with #124208

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

Preview Lab → · Contrast checker → · Palette generator →

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