#123402#123402

#123402 is a dark, moderate green. Relative luminance 0.026; OKLCH L 28.8% C 0.086 H 137.7°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#123402
RGBrgb(18, 52, 2)
HSLhsl(101, 93%, 11%)
HSVhsv(101, 96%, 20%)
CMYKcmyk(65.4%, 0%, 96.2%, 79.6%)
CIE-LABlab(18.32, -22.82, 24.73)
CIE-LCHlch(18.32, 33.65, 132.70°)
OKLaboklab(28.83% -0.0633 0.0576)
OKLCHoklch(28.83% 0.086 137.7)
XYZxyz(1.4884, 2.5888, 0.4787)
Luminance0.0259 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123402 #240234
analogous
#2B3402 #123402 #02340B
triadic
#123402 #021234 #340212
tetradic
#123402 #022B34 #240234 #340B02
square
#123402 #022B34 #240234 #340B02
split-complementary
#123402 #0B0234 #34022B
monochromatic
#0A1D01 #0A1D01 #123402 #266F04 #3BAA07

Accessibility & contrast

On white

13.84
#123402 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#123402 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123402
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123402#FFFFFF#000000##FFFFFF
##1234021.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362E00
Deuteranopia (green-blind)
#322C07
Tritanopia (blue-blind)
#0F322B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #123402;
/* rgb */ color: rgb(18, 52, 2);
/* oklch */ color: oklch(28.8% 0.086 137.7);
Tailwind
colors: {
  custom: {
    50: '#546c48',
    500: '#123402',
    950: '#000000',
  },
}
SCSS
$custom: #123402;
$custom-light: #546c48;
$custom-dark: #000000;
JSON
{
  "hex": "#123402",
  "rgb": {
    "r": 18,
    "g": 52,
    "b": 2
  },
  "hsl": {
    "h": 100.8,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.28831,
    "c": 0.08559,
    "h": 137.7
  },
  "luminance": 0.02589
}

Semantic roles & 50–950 ramp

primary
#123402
secondary
#5A1A78
accent
#29FFBA
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030700
muted
#787A77

Preview Lab

Preview with #123402

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

Preview Lab → · Contrast checker → · Palette generator →

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