#124B27#124B27

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

Color values

HEX#124B27
RGBrgb(18, 75, 39)
HSLhsl(142, 61%, 18%)
HSVhsv(142, 76%, 29%)
CMYKcmyk(76%, 0%, 48%, 70.6%)
CIE-LABlab(27.59, -27.61, 16.28)
CIE-LCHlch(27.59, 32.05, 149.47°)
OKLaboklab(36.64% -0.0744 0.0402)
OKLCHoklch(36.64% 0.085 151.6)
XYZxyz(3.1315, 5.3069, 2.7784)
Luminance0.0531 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124B27 #4B1236
analogous
#194B12 #124B27 #124B43
triadic
#124B27 #27124B #4B2712
tetradic
#124B27 #12194B #4B1236 #4B4312
square
#124B27 #12194B #4B1236 #4B4312
split-complementary
#124B27 #43124B #4B1219
monochromatic
#06190D #061A0D #124B27 #1E7C41 #2AAE5A

Accessibility & contrast

On white

10.19
#124B27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124B27
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124B27#FFFFFF#000000##FFFFFF
##124B271.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4424
Deuteranopia (green-blind)
#443F29
Tritanopia (blue-blind)
#004A42
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #124b27;
/* rgb */ color: rgb(18, 75, 39);
/* oklch */ color: oklch(36.6% 0.085 151.6);
Tailwind
colors: {
  custom: {
    50: '#597e61',
    500: '#124b27',
    950: '#000000',
  },
}
SCSS
$custom: #124b27;
$custom-light: #597e61;
$custom-dark: #000000;
JSON
{
  "hex": "#124b27",
  "rgb": {
    "r": 18,
    "g": 75,
    "b": 39
  },
  "hsl": {
    "h": 142.105,
    "s": 61.29,
    "l": 18.235
  },
  "oklch": {
    "l": 0.36641,
    "c": 0.08456,
    "h": 151.6
  },
  "luminance": 0.05307
}

Semantic roles & 50–950 ramp

primary
#124B27
secondary
#843567
accent
#43A9E4
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040A05
muted
#797C79

Preview Lab

Preview with #124B27

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

Preview Lab → · Contrast checker → · Palette generator →

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