#02340F#02340F

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

Color values

HEX#02340F
RGBrgb(2, 52, 15)
HSLhsl(136, 93%, 11%)
HSVhsv(136, 96%, 20%)
CMYKcmyk(96.2%, 0%, 71.2%, 79.6%)
CIE-LABlab(17.93, -25.50, 18.56)
CIE-LCHlch(17.93, 31.54, 143.96°)
OKLaboklab(28.41% -0.0684 0.0439)
OKLCHoklch(28.41% 0.081 147.3)
XYZxyz(1.3391, 2.5032, 0.8644)
Luminance0.0250 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02340F #340227
analogous
#0E3402 #02340F #023428
triadic
#02340F #0F0234 #340F02
tetradic
#02340F #020E34 #340227 #342802
square
#02340F #020E34 #340227 #342802
split-complementary
#02340F #280234 #34020E
monochromatic
#011D08 #011D08 #02340F #046F20 #07AA31

Accessibility & contrast

On white

13.99
#02340F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #02340F
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02340F#FFFFFF#000000##FFFFFF
##02340F1.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #02340f;
/* rgb */ color: rgb(2, 52, 15);
/* oklch */ color: oklch(28.4% 0.081 147.3);
Tailwind
colors: {
  custom: {
    50: '#4d6c4e',
    500: '#02340f',
    950: '#000000',
  },
}
SCSS
$custom: #02340f;
$custom-light: #4d6c4e;
$custom-dark: #000000;
JSON
{
  "hex": "#02340f",
  "rgb": {
    "r": 2,
    "g": 52,
    "b": 15
  },
  "hsl": {
    "h": 135.6,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.28409,
    "c": 0.08131,
    "h": 147.3
  },
  "luminance": 0.02503
}

Semantic roles & 50–950 ramp

primary
#02340F
secondary
#781A60
accent
#29C7FF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020702
muted
#787A78

Preview Lab

Preview with #02340F

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

Preview Lab → · Contrast checker → · Palette generator →

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