#123E1F#123E1F

#123E1F is a dark, moderate green. Relative luminance 0.037; OKLCH L 32.4% C 0.073 H 150.1°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#123E1F
RGBrgb(18, 62, 31)
HSLhsl(138, 55%, 16%)
HSVhsv(138, 71%, 24%)
CMYKcmyk(71%, 0%, 50%, 75.7%)
CIE-LABlab(22.56, -23.29, 14.71)
CIE-LCHlch(22.56, 27.55, 147.72°)
OKLaboklab(32.45% -0.0629 0.0362)
OKLCHoklch(32.45% 0.073 150.1)
XYZxyz(2.2192, 3.6726, 1.8880)
Luminance0.0367 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123E1F #3E1231
analogous
#1B3E12 #123E1F #123E35
triadic
#123E1F #1F123E #3E1F12
tetradic
#123E1F #121B3E #3E1231 #3E3512
square
#123E1F #121B3E #3E1231 #3E3512
split-complementary
#123E1F #35123E #3E121B
monochromatic
#07180C #07180C #123E1F #206D37 #2E9D4E

Accessibility & contrast

On white

12.11
#123E1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#123E1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123E1F
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123E1F#FFFFFF#000000##FFFFFF
##123E1F1.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E381D
Deuteranopia (green-blind)
#393421
Tritanopia (blue-blind)
#053D36
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #123e1f;
/* rgb */ color: rgb(18, 62, 31);
/* oklch */ color: oklch(32.4% 0.073 150.1);
Tailwind
colors: {
  custom: {
    50: '#56745b',
    500: '#123e1f',
    950: '#000000',
  },
}
SCSS
$custom: #123e1f;
$custom-light: #56745b;
$custom-dark: #000000;
JSON
{
  "hex": "#123e1f",
  "rgb": {
    "r": 18,
    "g": 62,
    "b": 31
  },
  "hsl": {
    "h": 137.727,
    "s": 55,
    "l": 15.686
  },
  "oklch": {
    "l": 0.32447,
    "c": 0.07259,
    "h": 150.1
  },
  "luminance": 0.03673
}

Semantic roles & 50–950 ramp

primary
#123E1F
secondary
#773563
accent
#49B2DE
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #123E1F

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

Preview Lab → · Contrast checker → · Palette generator →

#123E1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva