#02340E#02340E

#02340E is a dark, moderate green. Relative luminance 0.025; OKLCH L 28.4% C 0.082 H 146.9°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#02340E
RGBrgb(2, 52, 14)
HSLhsl(134, 93%, 11%)
HSVhsv(134, 96%, 20%)
CMYKcmyk(96.2%, 0%, 73.1%, 79.6%)
CIE-LABlab(17.92, -25.66, 19.06)
CIE-LCHlch(17.92, 31.96, 143.39°)
OKLaboklab(28.4% -0.0689 0.045)
OKLCHoklch(28.4% 0.082 146.9)
XYZxyz(1.3322, 2.5004, 0.8278)
Luminance0.0250 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02340E #340228
analogous
#0F3402 #02340E #023427
triadic
#02340E #0E0234 #340E02
tetradic
#02340E #020F34 #340228 #342702
square
#02340E #020F34 #340228 #342702
split-complementary
#02340E #270234 #34020F
monochromatic
#011D08 #011D08 #02340E #046F1E #07AA2E

Accessibility & contrast

On white

14.00
#02340E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#02340E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02340E
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02340E#FFFFFF#000000##FFFFFF
##02340E1.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E0A
Deuteranopia (green-blind)
#2F2A11
Tritanopia (blue-blind)
#00332C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #02340e;
/* rgb */ color: rgb(2, 52, 14);
/* oklch */ color: oklch(28.4% 0.082 146.9);
Tailwind
colors: {
  custom: {
    50: '#4d6c4e',
    500: '#02340e',
    950: '#000000',
  },
}
SCSS
$custom: #02340e;
$custom-light: #4d6c4e;
$custom-dark: #000000;
JSON
{
  "hex": "#02340e",
  "rgb": {
    "r": 2,
    "g": 52,
    "b": 14
  },
  "hsl": {
    "h": 134.4,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.28395,
    "c": 0.08228,
    "h": 146.9
  },
  "luminance": 0.02501
}

Semantic roles & 50–950 ramp

primary
#02340E
secondary
#781A61
accent
#29CCFF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020701
muted
#787A77

Preview Lab

Preview with #02340E

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

Preview Lab → · Contrast checker → · Palette generator →

#02340E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva