#124B23#124B23

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

Color values

HEX#124B23
RGBrgb(18, 75, 35)
HSLhsl(138, 61%, 18%)
HSVhsv(138, 76%, 29%)
CMYKcmyk(76%, 0%, 53.3%, 70.6%)
CIE-LABlab(27.52, -28.39, 18.60)
CIE-LCHlch(27.52, 33.94, 146.77°)
OKLaboklab(36.56% -0.0765 0.0453)
OKLCHoklch(36.56% 0.089 149.4)
XYZxyz(3.0687, 5.2818, 2.4475)
Luminance0.0528 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124B23 #4B123A
analogous
#1D4B12 #124B23 #124B3F
triadic
#124B23 #23124B #4B2312
tetradic
#124B23 #121D4B #4B123A #4B3F12
square
#124B23 #121D4B #4B123A #4B3F12
split-complementary
#124B23 #3F124B #4B121D
monochromatic
#06190C #061A0C #124B23 #1E7C3A #2AAE51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##124B23#FFFFFF#000000##FFFFFF
##124B231.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)
#4C4420
Deuteranopia (green-blind)
#453F26
Tritanopia (blue-blind)
#004942
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #124b23;
/* rgb */ color: rgb(18, 75, 35);
/* oklch */ color: oklch(36.6% 0.089 149.4);
Tailwind
colors: {
  custom: {
    50: '#597e5e',
    500: '#124b23',
    950: '#000000',
  },
}
SCSS
$custom: #124b23;
$custom-light: #597e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#124b23",
  "rgb": {
    "r": 18,
    "g": 75,
    "b": 35
  },
  "hsl": {
    "h": 137.895,
    "s": 61.29,
    "l": 18.235
  },
  "oklch": {
    "l": 0.36562,
    "c": 0.08889,
    "h": 149.4
  },
  "luminance": 0.05282
}

Semantic roles & 50–950 ramp

primary
#124B23
secondary
#84356C
accent
#43B4E4
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #124B23

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

Preview Lab → · Contrast checker → · Palette generator →

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