#123A02#123A02

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

Color values

HEX#123A02
RGBrgb(18, 58, 2)
HSLhsl(103, 93%, 12%)
HSVhsv(103, 97%, 23%)
CMYKcmyk(69%, 0%, 96.6%, 77.3%)
CIE-LABlab(20.67, -25.44, 27.43)
CIE-LCHlch(20.67, 37.41, 132.85°)
OKLaboklab(30.78% -0.0703 0.0619)
OKLCHoklch(30.78% 0.094 138.6)
XYZxyz(1.7734, 3.1589, 0.5737)
Luminance0.0316 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123A02 #2A023A
analogous
#2E3A02 #123A02 #023A0E
triadic
#123A02 #02123A #3A0212
tetradic
#123A02 #022E3A #2A023A #3A0E02
square
#123A02 #022E3A #2A023A #3A0E02
split-complementary
#123A02 #0E023A #3A022E
monochromatic
#091E01 #091E01 #123A02 #247504 #37B006

Accessibility & contrast

On white

12.87
#123A02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #123A02
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123A02#FFFFFF#000000##FFFFFF
##123A021.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3400
Deuteranopia (green-blind)
#373108
Tritanopia (blue-blind)
#0E3830
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #123a02;
/* rgb */ color: rgb(18, 58, 2);
/* oklch */ color: oklch(30.8% 0.094 138.6);
Tailwind
colors: {
  custom: {
    50: '#567148',
    500: '#123a02',
    950: '#000000',
  },
}
SCSS
$custom: #123a02;
$custom-light: #567148;
$custom-dark: #000000;
JSON
{
  "hex": "#123a02",
  "rgb": {
    "r": 18,
    "g": 58,
    "b": 2
  },
  "hsl": {
    "h": 102.857,
    "s": 93.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.30776,
    "c": 0.09366,
    "h": 138.6
  },
  "luminance": 0.03159
}

Semantic roles & 50–950 ramp

primary
#123A02
secondary
#611A7D
accent
#29FFC2
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#030701
muted
#787A77

Preview Lab

Preview with #123A02

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

Preview Lab → · Contrast checker → · Palette generator →

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