#124A23#124A23

#124A23 is a dark, moderate green. Relative luminance 0.051; OKLCH L 36.3% C 0.087 H 149.6°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#124A23
RGBrgb(18, 74, 35)
HSLhsl(138, 61%, 18%)
HSVhsv(138, 76%, 29%)
CMYKcmyk(75.7%, 0%, 52.7%, 71%)
CIE-LABlab(27.15, -27.95, 18.13)
CIE-LCHlch(27.15, 33.31, 147.04°)
OKLaboklab(36.25% -0.0753 0.0442)
OKLCHoklch(36.25% 0.087 149.6)
XYZxyz(3.0014, 5.1472, 2.4251)
Luminance0.0515 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124A23 #4A1239
analogous
#1D4A12 #124A23 #124A3F
triadic
#124A23 #23124A #4A2312
tetradic
#124A23 #121D4A #4A1239 #4A3F12
square
#124A23 #121D4A #4A1239 #4A3F12
split-complementary
#124A23 #3F124A #4A121D
monochromatic
#06190C #06190C #124A23 #1E7B3A #2AAC52

Accessibility & contrast

On white

10.35
#124A23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#124A23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124A23
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124A23#FFFFFF#000000##FFFFFF
##124A231.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4320
Deuteranopia (green-blind)
#443E26
Tritanopia (blue-blind)
#004941
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #124a23;
/* rgb */ color: rgb(18, 74, 35);
/* oklch */ color: oklch(36.3% 0.087 149.6);
Tailwind
colors: {
  custom: {
    50: '#597d5e',
    500: '#124a23',
    950: '#000000',
  },
}
SCSS
$custom: #124a23;
$custom-light: #597d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#124a23",
  "rgb": {
    "r": 18,
    "g": 74,
    "b": 35
  },
  "hsl": {
    "h": 138.214,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.36254,
    "c": 0.08734,
    "h": 149.6
  },
  "luminance": 0.05148
}

Semantic roles & 50–950 ramp

primary
#124A23
secondary
#83356B
accent
#44B3E4
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #124A23

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

Preview Lab → · Contrast checker → · Palette generator →

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