#124E23#124E23

#124E23 is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.5% C 0.093 H 148.8°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#124E23
RGBrgb(18, 78, 35)
HSLhsl(137, 63%, 19%)
HSVhsv(137, 77%, 31%)
CMYKcmyk(76.9%, 0%, 55.1%, 69.4%)
CIE-LABlab(28.64, -29.67, 19.99)
CIE-LCHlch(28.64, 35.78, 146.03°)
OKLaboklab(37.48% -0.0799 0.0485)
OKLCHoklch(37.48% 0.093 148.8)
XYZxyz(3.2770, 5.6984, 2.5170)
Luminance0.0570 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124E23 #4E123D
analogous
#1F4E12 #124E23 #124E41
triadic
#124E23 #23124E #4E2312
tetradic
#124E23 #121F4E #4E123D #4E4112
square
#124E23 #121F4E #4E123D #4E4112
split-complementary
#124E23 #41124E #4E121F
monochromatic
#06190B #071C0D #124E23 #1D8039 #29B150

Accessibility & contrast

On white

9.81
#124E23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#124E23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124E23
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124E23#FFFFFF#000000##FFFFFF
##124E231.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F471F
Deuteranopia (green-blind)
#484226
Tritanopia (blue-blind)
#004C44
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #124e23;
/* rgb */ color: rgb(18, 78, 35);
/* oklch */ color: oklch(37.5% 0.093 148.8);
Tailwind
colors: {
  custom: {
    50: '#5a805f',
    500: '#124e23',
    950: '#000000',
  },
}
SCSS
$custom: #124e23;
$custom-light: #5a805f;
$custom-dark: #000000;
JSON
{
  "hex": "#124e23",
  "rgb": {
    "r": 18,
    "g": 78,
    "b": 35
  },
  "hsl": {
    "h": 137,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.37483,
    "c": 0.09344,
    "h": 148.8
  },
  "luminance": 0.05699
}

Semantic roles & 50–950 ramp

primary
#124E23
secondary
#873570
accent
#42B7E6
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #124E23

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

Preview Lab → · Contrast checker → · Palette generator →

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