#124B28#124B28

#124B28 is a dark, moderate green. Relative luminance 0.053; OKLCH L 36.7% C 0.083 H 152.3°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#124B28
RGBrgb(18, 75, 40)
HSLhsl(143, 61%, 18%)
HSVhsv(143, 76%, 29%)
CMYKcmyk(76%, 0%, 46.7%, 70.6%)
CIE-LABlab(27.61, -27.40, 15.69)
CIE-LCHlch(27.61, 31.57, 150.20°)
OKLaboklab(36.66% -0.0739 0.0388)
OKLCHoklch(36.66% 0.083 152.3)
XYZxyz(3.1483, 5.3136, 2.8668)
Luminance0.0531 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124B28 #4B1235
analogous
#184B12 #124B28 #124B44
triadic
#124B28 #28124B #4B2812
tetradic
#124B28 #12184B #4B1235 #4B4412
square
#124B28 #12184B #4B1235 #4B4412
split-complementary
#124B28 #44124B #4B1218
monochromatic
#06190D #061A0E #124B28 #1E7C42 #2AAE5D

Accessibility & contrast

On white

10.18
#124B28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124B28
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124B28#FFFFFF#000000##FFFFFF
##124B281.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #124b28;
/* rgb */ color: rgb(18, 75, 40);
/* oklch */ color: oklch(36.7% 0.083 152.3);
Tailwind
colors: {
  custom: {
    50: '#597e62',
    500: '#124b28',
    950: '#000000',
  },
}
SCSS
$custom: #124b28;
$custom-light: #597e62;
$custom-dark: #000000;
JSON
{
  "hex": "#124b28",
  "rgb": {
    "r": 18,
    "g": 75,
    "b": 40
  },
  "hsl": {
    "h": 143.158,
    "s": 61.29,
    "l": 18.235
  },
  "oklch": {
    "l": 0.36662,
    "c": 0.08346,
    "h": 152.3
  },
  "luminance": 0.05314
}

Semantic roles & 50–950 ramp

primary
#124B28
secondary
#843565
accent
#43A6E4
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040A05
muted
#797C79

Preview Lab

Preview with #124B28

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

Preview Lab → · Contrast checker → · Palette generator →

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