#123B0F#123B0F

#123B0F is a dark, moderate green. Relative luminance 0.033; OKLCH L 31.2% C 0.085 H 142.2°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#123B0F
RGBrgb(18, 59, 15)
HSLhsl(116, 59%, 15%)
HSVhsv(116, 75%, 23%)
CMYKcmyk(69.5%, 0%, 74.6%, 76.9%)
CIE-LABlab(21.17, -24.54, 22.39)
CIE-LCHlch(21.17, 33.22, 137.62°)
OKLaboklab(31.23% -0.0669 0.0519)
OKLCHoklch(31.23% 0.085 142.2)
XYZxyz(1.8995, 3.2908, 0.9869)
Luminance0.0329 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123B0F #380F3B
analogous
#283B0F #123B0F #0F3B22
triadic
#123B0F #0F123B #3B0F12
tetradic
#123B0F #0F283B #380F3B #3B220F
square
#123B0F #0F283B #380F3B #3B220F
split-complementary
#123B0F #220F3B #3B0F28
monochromatic
#071806 #071806 #123B0F #216C1B #309D28

Accessibility & contrast

On white

12.66
#123B0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#123B0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123B0F
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123B0F#FFFFFF#000000##FFFFFF
##123B0F1.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D350A
Deuteranopia (green-blind)
#373213
Tritanopia (blue-blind)
#0B3932
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #123b0f;
/* rgb */ color: rgb(18, 59, 15);
/* oklch */ color: oklch(31.2% 0.085 142.2);
Tailwind
colors: {
  custom: {
    50: '#56714f',
    500: '#123b0f',
    950: '#000000',
  },
}
SCSS
$custom: #123b0f;
$custom-light: #56714f;
$custom-dark: #000000;
JSON
{
  "hex": "#123b0f",
  "rgb": {
    "r": 18,
    "g": 59,
    "b": 15
  },
  "hsl": {
    "h": 115.909,
    "s": 59.459,
    "l": 14.51
  },
  "oklch": {
    "l": 0.31229,
    "c": 0.08462,
    "h": 142.2
  },
  "luminance": 0.03291
}

Semantic roles & 50–950 ramp

primary
#123B0F
secondary
#713075
accent
#45E3D8
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#030802
muted
#787B78

Preview Lab

Preview with #123B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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