#124F22#124F22

#124F22 is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.8% C 0.096 H 148.1°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#124F22
RGBrgb(18, 79, 34)
HSLhsl(136, 63%, 19%)
HSVhsv(136, 77%, 31%)
CMYKcmyk(77.2%, 0%, 57%, 69%)
CIE-LABlab(28.99, -30.27, 21.01)
CIE-LCHlch(28.99, 36.84, 145.24°)
OKLaboklab(37.77% -0.0815 0.0507)
OKLCHoklch(37.77% 0.096 148.1)
XYZxyz(3.3339, 5.8357, 2.4638)
Luminance0.0584 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124F22 #4F123F
analogous
#214F12 #124F22 #124F41
triadic
#124F22 #22124F #4F2212
tetradic
#124F22 #12214F #4F123F #4F4112
square
#124F22 #12214F #4F123F #4F4112
split-complementary
#124F22 #41124F #4F1221
monochromatic
#06190B #071D0D #124F22 #1D8137 #29B34D

Accessibility & contrast

On white

9.69
#124F22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#124F22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124F22
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124F22#FFFFFF#000000##FFFFFF
##124F221.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50471E
Deuteranopia (green-blind)
#494225
Tritanopia (blue-blind)
#004D45
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #124f22;
/* rgb */ color: rgb(18, 79, 34);
/* oklch */ color: oklch(37.8% 0.096 148.1);
Tailwind
colors: {
  custom: {
    50: '#5a815e',
    500: '#124f22',
    950: '#000000',
  },
}
SCSS
$custom: #124f22;
$custom-light: #5a815e;
$custom-dark: #000000;
JSON
{
  "hex": "#124f22",
  "rgb": {
    "r": 18,
    "g": 79,
    "b": 34
  },
  "hsl": {
    "h": 135.738,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.37772,
    "c": 0.09598,
    "h": 148.1
  },
  "luminance": 0.05836
}

Semantic roles & 50–950 ramp

primary
#124F22
secondary
#883572
accent
#42BBE6
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #124F22

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

Preview Lab → · Contrast checker → · Palette generator →

#124F22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva