#123D08#123D08

#123D08 is a dark, moderate green. Relative luminance 0.035; OKLCH L 31.8% C 0.093 H 140.4°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#123D08
RGBrgb(18, 61, 8)
HSLhsl(109, 77%, 14%)
HSVhsv(109, 87%, 24%)
CMYKcmyk(70.5%, 0%, 86.9%, 76.1%)
CIE-LABlab(21.88, -26.14, 26.31)
CIE-LCHlch(21.88, 37.08, 134.81°)
OKLaboklab(31.8% -0.0716 0.0593)
OKLCHoklch(31.8% 0.093 140.4)
XYZxyz(1.9619, 3.4834, 0.7987)
Luminance0.0348 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123D08 #33083D
analogous
#2C3D08 #123D08 #083D18
triadic
#123D08 #08123D #3D0812
tetradic
#123D08 #082C3D #33083D #3D1808
square
#123D08 #082C3D #33083D #3D1808
split-complementary
#123D08 #18083D #3D082C
monochromatic
#081B04 #081B04 #123D08 #22730F #32A916

Accessibility & contrast

On white

12.38
#123D08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #123D08
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123D08#FFFFFF#000000##FFFFFF
##123D081.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3701
Deuteranopia (green-blind)
#3A330E
Tritanopia (blue-blind)
#0C3B33
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #123d08;
/* rgb */ color: rgb(18, 61, 8);
/* oklch */ color: oklch(31.8% 0.093 140.4);
Tailwind
colors: {
  custom: {
    50: '#57734c',
    500: '#123d08',
    950: '#000000',
  },
}
SCSS
$custom: #123d08;
$custom-light: #57734c;
$custom-dark: #000000;
JSON
{
  "hex": "#123d08",
  "rgb": {
    "r": 18,
    "g": 61,
    "b": 8
  },
  "hsl": {
    "h": 108.679,
    "s": 76.812,
    "l": 13.529
  },
  "oklch": {
    "l": 0.31797,
    "c": 0.09302,
    "h": 140.4
  },
  "luminance": 0.03484
}

Semantic roles & 50–950 ramp

primary
#123D08
secondary
#6B257C
accent
#34F3CF
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030801
muted
#787B77

Preview Lab

Preview with #123D08

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

Preview Lab → · Contrast checker → · Palette generator →

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