#124F2B#124F2B

#124F2B is a dark, moderate green. Relative luminance 0.059; OKLCH L 37.9% C 0.086 H 152.9°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#124F2B
RGBrgb(18, 79, 43)
HSLhsl(145, 63%, 19%)
HSVhsv(145, 77%, 31%)
CMYKcmyk(77.2%, 0%, 45.6%, 69%)
CIE-LABlab(29.14, -28.54, 15.86)
CIE-LCHlch(29.14, 32.66, 150.93°)
OKLaboklab(37.95% -0.0769 0.0393)
OKLCHoklch(37.95% 0.086 152.9)
XYZxyz(3.4812, 5.8946, 3.2393)
Luminance0.0590 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124F2B #4F1236
analogous
#184F12 #124F2B #124F4A
triadic
#124F2B #2B124F #4F2B12
tetradic
#124F2B #12184F #4F1236 #4F4A12
square
#124F2B #12184F #4F1236 #4F4A12
split-complementary
#124F2B #4A124F #4F1218
monochromatic
#06190E #071D10 #124F2B #1D8146 #29B361

Accessibility & contrast

On white

9.64
#124F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#124F2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124F2B
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124F2B#FFFFFF#000000##FFFFFF
##124F2B1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4828
Deuteranopia (green-blind)
#48432D
Tritanopia (blue-blind)
#004E46
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #124f2b;
/* rgb */ color: rgb(18, 79, 43);
/* oklch */ color: oklch(37.9% 0.086 152.9);
Tailwind
colors: {
  custom: {
    50: '#5a8164',
    500: '#124f2b',
    950: '#000000',
  },
}
SCSS
$custom: #124f2b;
$custom-light: #5a8164;
$custom-dark: #000000;
JSON
{
  "hex": "#124f2b",
  "rgb": {
    "r": 18,
    "g": 79,
    "b": 43
  },
  "hsl": {
    "h": 144.59,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.37946,
    "c": 0.08642,
    "h": 152.9
  },
  "luminance": 0.05895
}

Semantic roles & 50–950 ramp

primary
#124F2B
secondary
#883566
accent
#42A3E6
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A05
muted
#797C7A

Preview Lab

Preview with #124F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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