#124B24#124B24

#124B24 is a dark, moderate green. Relative luminance 0.053; OKLCH L 36.6% C 0.088 H 149.9°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#124B24
RGBrgb(18, 75, 36)
HSLhsl(139, 61%, 18%)
HSVhsv(139, 76%, 29%)
CMYKcmyk(76%, 0%, 52%, 70.6%)
CIE-LABlab(27.54, -28.20, 18.02)
CIE-LCHlch(27.54, 33.47, 147.42°)
OKLaboklab(36.58% -0.076 0.0441)
OKLCHoklch(36.58% 0.088 149.9)
XYZxyz(3.0837, 5.2878, 2.5269)
Luminance0.0529 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124B24 #4B1239
analogous
#1C4B12 #124B24 #124B40
triadic
#124B24 #24124B #4B2412
tetradic
#124B24 #121C4B #4B1239 #4B4012
square
#124B24 #121C4B #4B1239 #4B4012
split-complementary
#124B24 #40124B #4B121C
monochromatic
#06190C #061A0C #124B24 #1E7C3C #2AAE53

Accessibility & contrast

On white

10.21
#124B24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#124B24 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124B24
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124B24#FFFFFF#000000##FFFFFF
##124B241.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4421
Deuteranopia (green-blind)
#453F27
Tritanopia (blue-blind)
#004A42
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #124b24;
/* rgb */ color: rgb(18, 75, 36);
/* oklch */ color: oklch(36.6% 0.088 149.9);
Tailwind
colors: {
  custom: {
    50: '#597e5f',
    500: '#124b24',
    950: '#000000',
  },
}
SCSS
$custom: #124b24;
$custom-light: #597e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#124b24",
  "rgb": {
    "r": 18,
    "g": 75,
    "b": 36
  },
  "hsl": {
    "h": 138.947,
    "s": 61.29,
    "l": 18.235
  },
  "oklch": {
    "l": 0.36581,
    "c": 0.08781,
    "h": 149.9
  },
  "luminance": 0.05288
}

Semantic roles & 50–950 ramp

primary
#124B24
secondary
#84356B
accent
#43B2E4
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #124B24

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

Preview Lab → · Contrast checker → · Palette generator →

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