#123908#123908

#123908 is a dark, moderate green. Relative luminance 0.031; OKLCH L 30.5% C 0.087 H 140.0°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#123908
RGBrgb(18, 57, 8)
HSLhsl(108, 75%, 13%)
HSVhsv(108, 86%, 22%)
CMYKcmyk(68.4%, 0%, 86%, 77.6%)
CIE-LABlab(20.33, -24.41, 24.61)
CIE-LCHlch(20.33, 34.66, 134.77°)
OKLaboklab(30.51% -0.067 0.0561)
OKLCHoklch(30.51% 0.087 140)
XYZxyz(1.7563, 3.0722, 0.7301)
Luminance0.0307 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123908 #2F0839
analogous
#2A3908 #123908 #083916
triadic
#123908 #081239 #390812
tetradic
#123908 #082A39 #2F0839 #391608
square
#123908 #082A39 #2F0839 #391608
split-complementary
#123908 #160839 #39082A
monochromatic
#081B04 #081B04 #123908 #236F10 #34A417

Accessibility & contrast

On white

13.01
#123908 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#123908 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123908
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123908#FFFFFF#000000##FFFFFF
##1239081.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3302
Deuteranopia (green-blind)
#36300D
Tritanopia (blue-blind)
#0D3730
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #123908;
/* rgb */ color: rgb(18, 57, 8);
/* oklch */ color: oklch(30.5% 0.087 140.0);
Tailwind
colors: {
  custom: {
    50: '#56704b',
    500: '#123908',
    950: '#000000',
  },
}
SCSS
$custom: #123908;
$custom-light: #56704b;
$custom-dark: #000000;
JSON
{
  "hex": "#123908",
  "rgb": {
    "r": 18,
    "g": 57,
    "b": 8
  },
  "hsl": {
    "h": 107.755,
    "s": 75.385,
    "l": 12.745
  },
  "oklch": {
    "l": 0.30513,
    "c": 0.08739,
    "h": 140
  },
  "luminance": 0.03072
}

Semantic roles & 50–950 ramp

primary
#123908
secondary
#672578
accent
#36F2CC
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#030701
muted
#787A77

Preview Lab

Preview with #123908

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

Preview Lab → · Contrast checker → · Palette generator →

#123908 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva