#124B0F#124B0F

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

Color values

HEX#124B0F
RGBrgb(18, 75, 15)
HSLhsl(117, 67%, 18%)
HSVhsv(117, 80%, 29%)
CMYKcmyk(76%, 0%, 80%, 70.6%)
CIE-LABlab(27.28, -31.20, 28.86)
CIE-LCHlch(27.28, 42.50, 137.23°)
OKLaboklab(36.29% -0.0849 0.0655)
OKLCHoklch(36.29% 0.107 142.4)
XYZxyz(2.8516, 5.1949, 1.3043)
Luminance0.0520 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124B0F #480F4B
analogous
#304B0F #124B0F #0F4B2A
triadic
#124B0F #0F124B #4B0F12
tetradic
#124B0F #0F304B #480F4B #4B2A0F
square
#124B0F #0F304B #480F4B #4B2A0F
split-complementary
#124B0F #2A0F4B #4B0F30
monochromatic
#061A05 #061A05 #124B0F #1E7E19 #2AB123

Accessibility & contrast

On white

10.30
#124B0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124B0F
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124B0F#FFFFFF#000000##FFFFFF
##124B0F1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4305
Deuteranopia (green-blind)
#463F15
Tritanopia (blue-blind)
#04493F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #124b0f;
/* rgb */ color: rgb(18, 75, 15);
/* oklch */ color: oklch(36.3% 0.107 142.4);
Tailwind
colors: {
  custom: {
    50: '#5a7e52',
    500: '#124b0f',
    950: '#000000',
  },
}
SCSS
$custom: #124b0f;
$custom-light: #5a7e52;
$custom-dark: #000000;
JSON
{
  "hex": "#124b0f",
  "rgb": {
    "r": 18,
    "g": 75,
    "b": 15
  },
  "hsl": {
    "h": 117,
    "s": 66.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.36286,
    "c": 0.10721,
    "h": 142.4
  },
  "luminance": 0.05195
}

Semantic roles & 50–950 ramp

primary
#124B0F
secondary
#813085
accent
#3EEAE1
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #124B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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