#123D0F#123D0F

#123D0F is a dark, moderate green. Relative luminance 0.035; OKLCH L 31.9% C 0.088 H 142.2°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#123D0F
RGBrgb(18, 61, 15)
HSLhsl(116, 61%, 15%)
HSVhsv(116, 75%, 24%)
CMYKcmyk(70.5%, 0%, 75.4%, 76.1%)
CIE-LABlab(21.95, -25.42, 23.24)
CIE-LCHlch(21.95, 34.44, 137.57°)
OKLaboklab(31.87% -0.0692 0.0537)
OKLCHoklch(31.87% 0.088 142.2)
XYZxyz(2.0043, 3.5004, 1.0219)
Luminance0.0350 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123D0F #3A0F3D
analogous
#293D0F #123D0F #0F3D23
triadic
#123D0F #0F123D #3D0F12
tetradic
#123D0F #0F293D #3A0F3D #3D230F
square
#123D0F #0F293D #3A0F3D #3D230F
split-complementary
#123D0F #230F3D #3D0F29
monochromatic
#071906 #071906 #123D0F #206E1B #2F9F27

Accessibility & contrast

On white

12.35
#123D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#123D0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123D0F
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123D0F#FFFFFF#000000##FFFFFF
##123D0F1.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3709
Deuteranopia (green-blind)
#393313
Tritanopia (blue-blind)
#0A3B34
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #123d0f;
/* rgb */ color: rgb(18, 61, 15);
/* oklch */ color: oklch(31.9% 0.088 142.2);
Tailwind
colors: {
  custom: {
    50: '#567350',
    500: '#123d0f',
    950: '#000000',
  },
}
SCSS
$custom: #123d0f;
$custom-light: #567350;
$custom-dark: #000000;
JSON
{
  "hex": "#123d0f",
  "rgb": {
    "r": 18,
    "g": 61,
    "b": 15
  },
  "hsl": {
    "h": 116.087,
    "s": 60.526,
    "l": 14.902
  },
  "oklch": {
    "l": 0.31867,
    "c": 0.08761,
    "h": 142.2
  },
  "luminance": 0.03501
}

Semantic roles & 50–950 ramp

primary
#123D0F
secondary
#733077
accent
#44E4D9
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030802
muted
#787B78

Preview Lab

Preview with #123D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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