#124B15#124B15

#124B15 is a dark, moderate green. Relative luminance 0.052; OKLCH L 36.3% C 0.103 H 143.8°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#124B15
RGBrgb(18, 75, 21)
HSLhsl(123, 61%, 18%)
HSVhsv(123, 76%, 29%)
CMYKcmyk(76%, 0%, 72%, 70.6%)
CIE-LABlab(27.34, -30.55, 26.11)
CIE-LCHlch(27.34, 40.19, 139.48°)
OKLaboklab(36.35% -0.0828 0.0605)
OKLCHoklch(36.35% 0.103 143.8)
XYZxyz(2.9007, 5.2146, 1.5630)
Luminance0.0522 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124B15 #4B1248
analogous
#2B4B12 #124B15 #124B31
triadic
#124B15 #15124B #4B1512
tetradic
#124B15 #122B4B #4B1248 #4B3112
square
#124B15 #122B4B #4B1248 #4B3112
split-complementary
#124B15 #31124B #4B122B
monochromatic
#061907 #061A07 #124B15 #1E7C23 #2AAE31

Accessibility & contrast

On white

10.28
#124B15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#124B15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124B15
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124B15#FFFFFF#000000##FFFFFF
##124B151.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D430E
Deuteranopia (green-blind)
#463F1A
Tritanopia (blue-blind)
#034940
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #124b15;
/* rgb */ color: rgb(18, 75, 21);
/* oklch */ color: oklch(36.3% 0.103 143.8);
Tailwind
colors: {
  custom: {
    50: '#5a7e55',
    500: '#124b15',
    950: '#000000',
  },
}
SCSS
$custom: #124b15;
$custom-light: #5a7e55;
$custom-dark: #000000;
JSON
{
  "hex": "#124b15",
  "rgb": {
    "r": 18,
    "g": 75,
    "b": 21
  },
  "hsl": {
    "h": 123.158,
    "s": 61.29,
    "l": 18.235
  },
  "oklch": {
    "l": 0.36348,
    "c": 0.10255,
    "h": 143.8
  },
  "luminance": 0.05215
}

Semantic roles & 50–950 ramp

primary
#124B15
secondary
#843580
accent
#43DCE4
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #124B15

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

Preview Lab → · Contrast checker → · Palette generator →

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