#124122#124122

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

Color values

HEX#124122
RGBrgb(18, 65, 34)
HSLhsl(140, 57%, 16%)
HSVhsv(140, 72%, 25%)
CMYKcmyk(72.3%, 0%, 47.7%, 74.5%)
CIE-LABlab(23.75, -24.08, 14.38)
CIE-LCHlch(23.75, 28.05, 149.16°)
OKLaboklab(33.45% -0.065 0.0356)
OKLCHoklch(33.45% 0.074 151.3)
XYZxyz(2.4283, 4.0244, 2.1619)
Luminance0.0403 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124122 #411231
analogous
#1A4112 #124122 #12413A
triadic
#124122 #221241 #412212
tetradic
#124122 #121A41 #411231 #413A12
square
#124122 #121A41 #411231 #413A12
split-complementary
#124122 #3A1241 #41121A
monochromatic
#07180D #07180D #124122 #1F713B #2DA154

Accessibility & contrast

On white

11.63
#124122 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124122
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124122#FFFFFF#000000##FFFFFF
##1241221.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413B20
Deuteranopia (green-blind)
#3B3724
Tritanopia (blue-blind)
#024039
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #124122;
/* rgb */ color: rgb(18, 65, 34);
/* oklch */ color: oklch(33.4% 0.074 151.3);
Tailwind
colors: {
  custom: {
    50: '#56765d',
    500: '#124122',
    950: '#000000',
  },
}
SCSS
$custom: #124122;
$custom-light: #56765d;
$custom-dark: #000000;
JSON
{
  "hex": "#124122",
  "rgb": {
    "r": 18,
    "g": 65,
    "b": 34
  },
  "hsl": {
    "h": 140.426,
    "s": 56.627,
    "l": 16.275
  },
  "oklch": {
    "l": 0.33448,
    "c": 0.07413,
    "h": 151.3
  },
  "luminance": 0.04025
}

Semantic roles & 50–950 ramp

primary
#124122
secondary
#7A3562
accent
#48ACE0
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #124122

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

Preview Lab → · Contrast checker → · Palette generator →

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