#123F04#123F04

#123F04 is a dark, moderate green. Relative luminance 0.037; OKLCH L 32.4% C 0.099 H 139.7°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#123F04
RGBrgb(18, 63, 4)
HSLhsl(106, 88%, 13%)
HSVhsv(106, 94%, 25%)
CMYKcmyk(71.4%, 0%, 93.7%, 75.3%)
CIE-LABlab(22.63, -27.34, 28.72)
CIE-LCHlch(22.63, 39.65, 133.59°)
OKLaboklab(32.4% -0.0752 0.0639)
OKLCHoklch(32.4% 0.099 139.7)
XYZxyz(2.0488, 3.6922, 0.7195)
Luminance0.0369 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123F04 #31043F
analogous
#2F3F04 #123F04 #043F13
triadic
#123F04 #04123F #3F0412
tetradic
#123F04 #042F3F #31043F #3F1304
square
#123F04 #042F3F #31043F #3F1304
split-complementary
#123F04 #13043F #3F042F
monochromatic
#081D02 #081D02 #123F04 #227908 #33B20B

Accessibility & contrast

On white

12.08
#123F04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#123F04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123F04
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123F04#FFFFFF#000000##FFFFFF
##123F041.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413800
Deuteranopia (green-blind)
#3C350B
Tritanopia (blue-blind)
#0C3D34
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #123f04;
/* rgb */ color: rgb(18, 63, 4);
/* oklch */ color: oklch(32.4% 0.099 139.7);
Tailwind
colors: {
  custom: {
    50: '#57744a',
    500: '#123f04',
    950: '#000000',
  },
}
SCSS
$custom: #123f04;
$custom-light: #57744a;
$custom-dark: #000000;
JSON
{
  "hex": "#123f04",
  "rgb": {
    "r": 18,
    "g": 63,
    "b": 4
  },
  "hsl": {
    "h": 105.763,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.32401,
    "c": 0.09866,
    "h": 139.7
  },
  "luminance": 0.03692
}

Semantic roles & 50–950 ramp

primary
#123F04
secondary
#691E80
accent
#2AFECC
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040801
muted
#797B77

Preview Lab

Preview with #123F04

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

Preview Lab → · Contrast checker → · Palette generator →

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