#123308#123308

#123308 is a dark, moderate green. Relative luminance 0.025; OKLCH L 28.6% C 0.079 H 139.4°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#123308
RGBrgb(18, 51, 8)
HSLhsl(106, 73%, 12%)
HSVhsv(106, 84%, 20%)
CMYKcmyk(64.7%, 0%, 84.3%, 80%)
CIE-LABlab(17.98, -21.70, 21.89)
CIE-LCHlch(17.98, 30.82, 134.74°)
OKLaboklab(28.57% -0.0597 0.0512)
OKLCHoklch(28.57% 0.079 139.4)
XYZxyz(1.4770, 2.5137, 0.6370)
Luminance0.0251 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123308 #290833
analogous
#283308 #123308 #083314
triadic
#123308 #081233 #330812
tetradic
#123308 #082833 #290833 #331408
square
#123308 #082833 #290833 #331408
split-complementary
#123308 #140833 #330828
monochromatic
#091A04 #091A04 #123308 #256810 #379D19

Accessibility & contrast

On white

13.97
#123308 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#123308 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123308
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123308#FFFFFF#000000##FFFFFF
##1233081.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E03
Deuteranopia (green-blind)
#312B0C
Tritanopia (blue-blind)
#0F312B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #123308;
/* rgb */ color: rgb(18, 51, 8);
/* oklch */ color: oklch(28.6% 0.079 139.4);
Tailwind
colors: {
  custom: {
    50: '#546b4b',
    500: '#123308',
    950: '#000000',
  },
}
SCSS
$custom: #123308;
$custom-light: #546b4b;
$custom-dark: #000000;
JSON
{
  "hex": "#123308",
  "rgb": {
    "r": 18,
    "g": 51,
    "b": 8
  },
  "hsl": {
    "h": 106.047,
    "s": 72.881,
    "l": 11.569
  },
  "oklch": {
    "l": 0.28573,
    "c": 0.07859,
    "h": 139.4
  },
  "luminance": 0.02514
}

Semantic roles & 50–950 ramp

primary
#123308
secondary
#602572
accent
#38F0C5
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #123308

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

Preview Lab → · Contrast checker → · Palette generator →

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