#124C23#124C23

#124C23 is a dark, moderate green. Relative luminance 0.054; OKLCH L 36.9% C 0.090 H 149.2°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#124C23
RGBrgb(18, 76, 35)
HSLhsl(138, 62%, 18%)
HSVhsv(138, 76%, 30%)
CMYKcmyk(76.3%, 0%, 53.9%, 70.2%)
CIE-LABlab(27.90, -28.82, 19.06)
CIE-LCHlch(27.90, 34.55, 146.52°)
OKLaboklab(36.87% -0.0776 0.0464)
OKLCHoklch(36.87% 0.09 149.2)
XYZxyz(3.1370, 5.4185, 2.4703)
Luminance0.0542 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124C23 #4C123B
analogous
#1E4C12 #124C23 #124C40
triadic
#124C23 #23124C #4C2312
tetradic
#124C23 #121E4C #4C123B #4C4012
square
#124C23 #121E4C #4C123B #4C4012
split-complementary
#124C23 #40124C #4C121E
monochromatic
#06190B #061B0C #124C23 #1E7D3A #29AF51

Accessibility & contrast

On white

10.08
#124C23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#124C23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124C23
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124C23#FFFFFF#000000##FFFFFF
##124C231.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4520
Deuteranopia (green-blind)
#464026
Tritanopia (blue-blind)
#004A42
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #124c23;
/* rgb */ color: rgb(18, 76, 35);
/* oklch */ color: oklch(36.9% 0.090 149.2);
Tailwind
colors: {
  custom: {
    50: '#597f5e',
    500: '#124c23',
    950: '#000000',
  },
}
SCSS
$custom: #124c23;
$custom-light: #597f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#124c23",
  "rgb": {
    "r": 18,
    "g": 76,
    "b": 35
  },
  "hsl": {
    "h": 137.586,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.36869,
    "c": 0.09041,
    "h": 149.2
  },
  "luminance": 0.05419
}

Semantic roles & 50–950 ramp

primary
#124C23
secondary
#85356E
accent
#43B5E5
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #124C23

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

Preview Lab → · Contrast checker → · Palette generator →

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