#02340B#02340B

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

Color values

HEX#02340B
RGBrgb(2, 52, 11)
HSLhsl(131, 93%, 11%)
HSVhsv(131, 96%, 20%)
CMYKcmyk(96.2%, 0%, 78.8%, 79.6%)
CIE-LABlab(17.89, -26.08, 20.42)
CIE-LCHlch(17.89, 33.12, 141.94°)
OKLaboklab(28.36% -0.0702 0.048)
OKLCHoklch(28.36% 0.085 145.7)
XYZxyz(1.3133, 2.4929, 0.7285)
Luminance0.0249 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02340B #34022B
analogous
#123402 #02340B #023424
triadic
#02340B #0B0234 #340B02
tetradic
#02340B #021234 #34022B #342402
square
#02340B #021234 #34022B #342402
split-complementary
#02340B #240234 #340212
monochromatic
#011D06 #011D06 #02340B #046F17 #07AA24

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##02340B#FFFFFF#000000##FFFFFF
##02340B1.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)
#352E06
Deuteranopia (green-blind)
#302A0F
Tritanopia (blue-blind)
#00322C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #02340b;
/* rgb */ color: rgb(2, 52, 11);
/* oklch */ color: oklch(28.4% 0.085 145.7);
Tailwind
colors: {
  custom: {
    50: '#4d6c4c',
    500: '#02340b',
    950: '#000000',
  },
}
SCSS
$custom: #02340b;
$custom-light: #4d6c4c;
$custom-dark: #000000;
JSON
{
  "hex": "#02340b",
  "rgb": {
    "r": 2,
    "g": 52,
    "b": 11
  },
  "hsl": {
    "h": 130.8,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.28355,
    "c": 0.085,
    "h": 145.7
  },
  "luminance": 0.02493
}

Semantic roles & 50–950 ramp

primary
#02340B
secondary
#781A67
accent
#29D8FF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020701
muted
#787A77

Preview Lab

Preview with #02340B

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

Preview Lab → · Contrast checker → · Palette generator →

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