#123A04#123A04

#123A04 is a dark, moderate green. Relative luminance 0.032; OKLCH L 30.8% C 0.092 H 139.1°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#123A04
RGBrgb(18, 58, 4)
HSLhsl(104, 87%, 12%)
HSVhsv(104, 93%, 23%)
CMYKcmyk(69%, 0%, 93.1%, 77.3%)
CIE-LABlab(20.69, -25.24, 26.64)
CIE-LCHlch(20.69, 36.70, 133.46°)
OKLaboklab(30.8% -0.0696 0.0602)
OKLCHoklch(30.8% 0.092 139.1)
XYZxyz(1.7843, 3.1633, 0.6314)
Luminance0.0316 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123A04 #2C043A
analogous
#2D3A04 #123A04 #043A11
triadic
#123A04 #04123A #3A0412
tetradic
#123A04 #042D3A #2C043A #3A1104
square
#123A04 #042D3A #2C043A #3A1104
split-complementary
#123A04 #11043A #3A042D
monochromatic
#091D02 #091D02 #123A04 #247308 #36AD0C

Accessibility & contrast

On white

12.86
#123A04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#123A04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123A04
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123A04#FFFFFF#000000##FFFFFF
##123A041.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3400
Deuteranopia (green-blind)
#37310A
Tritanopia (blue-blind)
#0D3830
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #123a04;
/* rgb */ color: rgb(18, 58, 4);
/* oklch */ color: oklch(30.8% 0.092 139.1);
Tailwind
colors: {
  custom: {
    50: '#567149',
    500: '#123a04',
    950: '#000000',
  },
}
SCSS
$custom: #123a04;
$custom-light: #567149;
$custom-dark: #000000;
JSON
{
  "hex": "#123a04",
  "rgb": {
    "r": 18,
    "g": 58,
    "b": 4
  },
  "hsl": {
    "h": 104.444,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.30796,
    "c": 0.092,
    "h": 139.1
  },
  "luminance": 0.03163
}

Semantic roles & 50–950 ramp

primary
#123A04
secondary
#631E7C
accent
#2BFDC7
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#030701
muted
#787A77

Preview Lab

Preview with #123A04

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

Preview Lab → · Contrast checker → · Palette generator →

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