#124312#124312

#124312 is a dark, moderate green. Relative luminance 0.042; OKLCH L 33.8% C 0.094 H 143.2°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#124312
RGBrgb(18, 67, 18)
HSLhsl(120, 58%, 17%)
HSVhsv(120, 73%, 26%)
CMYKcmyk(73.1%, 0%, 73.1%, 73.7%)
CIE-LABlab(24.28, -27.63, 24.26)
CIE-LCHlch(24.28, 36.77, 138.71°)
OKLaboklab(33.81% -0.075 0.0562)
OKLCHoklch(33.81% 0.094 143.2)
XYZxyz(2.3657, 4.1863, 1.2555)
Luminance0.0419 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124312 #431243
analogous
#2B4312 #124312 #12432B
triadic
#124312 #121243 #431212
tetradic
#124312 #122B43 #431243 #432B12
square
#124312 #122B43 #431243 #432B12
split-complementary
#124312 #2B1243 #43122B
monochromatic
#061806 #061806 #124312 #1F731F #2CA32C

Accessibility & contrast

On white

11.43
#124312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#124312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124312
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124312#FFFFFF#000000##FFFFFF
##1243121.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C0C
Deuteranopia (green-blind)
#3F3816
Tritanopia (blue-blind)
#074139
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #124312;
/* rgb */ color: rgb(18, 67, 18);
/* oklch */ color: oklch(33.8% 0.094 143.2);
Tailwind
colors: {
  custom: {
    50: '#587852',
    500: '#124312',
    950: '#000000',
  },
}
SCSS
$custom: #124312;
$custom-light: #587852;
$custom-dark: #000000;
JSON
{
  "hex": "#124312",
  "rgb": {
    "r": 18,
    "g": 67,
    "b": 18
  },
  "hsl": {
    "h": 120,
    "s": 57.647,
    "l": 16.667
  },
  "oklch": {
    "l": 0.33806,
    "c": 0.09376,
    "h": 143.2
  },
  "luminance": 0.04187
}

Semantic roles & 50–950 ramp

primary
#124312
secondary
#7C357C
accent
#47E1E1
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040902
muted
#797B78

Preview Lab

Preview with #124312

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

Preview Lab → · Contrast checker → · Palette generator →

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