#123B04#123B04

#123B04 is a dark, moderate green. Relative luminance 0.033; OKLCH L 31.1% C 0.093 H 139.3°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#123B04
RGBrgb(18, 59, 4)
HSLhsl(105, 87%, 12%)
HSVhsv(105, 93%, 23%)
CMYKcmyk(69.5%, 0%, 93.2%, 76.9%)
CIE-LABlab(21.08, -25.67, 27.06)
CIE-LCHlch(21.08, 37.30, 133.49°)
OKLaboklab(31.12% -0.0707 0.0609)
OKLCHoklch(31.12% 0.093 139.3)
XYZxyz(1.8353, 3.2651, 0.6484)
Luminance0.0326 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123B04 #2D043B
analogous
#2E3B04 #123B04 #043B11
triadic
#123B04 #04123B #3B0412
tetradic
#123B04 #042E3B #2D043B #3B1104
square
#123B04 #042E3B #2D043B #3B1104
split-complementary
#123B04 #11043B #3B042E
monochromatic
#091D02 #091D02 #123B04 #237408 #35AE0C

Accessibility & contrast

On white

12.70
#123B04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#123B04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123B04
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123B04#FFFFFF#000000##FFFFFF
##123B041.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3500
Deuteranopia (green-blind)
#38310A
Tritanopia (blue-blind)
#0D3931
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #123b04;
/* rgb */ color: rgb(18, 59, 4);
/* oklch */ color: oklch(31.1% 0.093 139.3);
Tailwind
colors: {
  custom: {
    50: '#56714a',
    500: '#123b04',
    950: '#000000',
  },
}
SCSS
$custom: #123b04;
$custom-light: #56714a;
$custom-dark: #000000;
JSON
{
  "hex": "#123b04",
  "rgb": {
    "r": 18,
    "g": 59,
    "b": 4
  },
  "hsl": {
    "h": 104.727,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.31118,
    "c": 0.09336,
    "h": 139.3
  },
  "luminance": 0.03265
}

Semantic roles & 50–950 ramp

primary
#123B04
secondary
#651E7D
accent
#2AFDC8
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#030801
muted
#787B77

Preview Lab

Preview with #123B04

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

Preview Lab → · Contrast checker → · Palette generator →

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