#02340A#02340A

#02340A is a dark, moderate green. Relative luminance 0.025; OKLCH L 28.3% C 0.086 H 145.3°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#02340A
RGBrgb(2, 52, 10)
HSLhsl(130, 93%, 11%)
HSVhsv(130, 96%, 20%)
CMYKcmyk(96.2%, 0%, 80.8%, 79.6%)
CIE-LABlab(17.88, -26.21, 20.82)
CIE-LCHlch(17.88, 33.47, 141.53°)
OKLaboklab(28.34% -0.0706 0.0489)
OKLCHoklch(28.34% 0.086 145.3)
XYZxyz(1.3077, 2.4906, 0.6989)
Luminance0.0249 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02340A #34022C
analogous
#133402 #02340A #023423
triadic
#02340A #0A0234 #340A02
tetradic
#02340A #021334 #34022C #342302
square
#02340A #021334 #34022C #342302
split-complementary
#02340A #230234 #340213
monochromatic
#011D06 #011D06 #02340A #046F15 #07AA21

Accessibility & contrast

On white

14.02
#02340A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #02340A
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02340A#FFFFFF#000000##FFFFFF
##02340A1.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E05
Deuteranopia (green-blind)
#302A0E
Tritanopia (blue-blind)
#00322B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #02340a;
/* rgb */ color: rgb(2, 52, 10);
/* oklch */ color: oklch(28.3% 0.086 145.3);
Tailwind
colors: {
  custom: {
    50: '#4d6c4c',
    500: '#02340a',
    950: '#000000',
  },
}
SCSS
$custom: #02340a;
$custom-light: #4d6c4c;
$custom-dark: #000000;
JSON
{
  "hex": "#02340a",
  "rgb": {
    "r": 2,
    "g": 52,
    "b": 10
  },
  "hsl": {
    "h": 129.6,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.28344,
    "c": 0.08585,
    "h": 145.3
  },
  "luminance": 0.02491
}

Semantic roles & 50–950 ramp

primary
#02340A
secondary
#781A69
accent
#29DDFF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020701
muted
#787A77

Preview Lab

Preview with #02340A

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

Preview Lab → · Contrast checker → · Palette generator →

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