#02340C#02340C

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

Color values

HEX#02340C
RGBrgb(2, 52, 12)
HSLhsl(132, 93%, 11%)
HSVhsv(132, 96%, 20%)
CMYKcmyk(96.2%, 0%, 76.9%, 79.6%)
CIE-LABlab(17.90, -25.95, 19.99)
CIE-LCHlch(17.90, 32.75, 142.39°)
OKLaboklab(28.37% -0.0698 0.047)
OKLCHoklch(28.37% 0.084 146)
XYZxyz(1.3193, 2.4953, 0.7599)
Luminance0.0249 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02340C #34022A
analogous
#113402 #02340C #023425
triadic
#02340C #0C0234 #340C02
tetradic
#02340C #021134 #34022A #342502
square
#02340C #021134 #34022A #342502
split-complementary
#02340C #250234 #340211
monochromatic
#011D07 #011D07 #02340C #046F1A #07AA27

Accessibility & contrast

On white

14.01
#02340C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #02340C
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02340C#FFFFFF#000000##FFFFFF
##02340C1.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E07
Deuteranopia (green-blind)
#2F2A10
Tritanopia (blue-blind)
#00322C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #02340c;
/* rgb */ color: rgb(2, 52, 12);
/* oklch */ color: oklch(28.4% 0.084 146.0);
Tailwind
colors: {
  custom: {
    50: '#4d6c4d',
    500: '#02340c',
    950: '#000000',
  },
}
SCSS
$custom: #02340c;
$custom-light: #4d6c4d;
$custom-dark: #000000;
JSON
{
  "hex": "#02340c",
  "rgb": {
    "r": 2,
    "g": 52,
    "b": 12
  },
  "hsl": {
    "h": 132,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.28368,
    "c": 0.08412,
    "h": 146
  },
  "luminance": 0.02495
}

Semantic roles & 50–950 ramp

primary
#02340C
secondary
#781A65
accent
#29D4FF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020701
muted
#787A77

Preview Lab

Preview with #02340C

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

Preview Lab → · Contrast checker → · Palette generator →

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