#348018#348018

#348018 is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.2% C 0.154 H 139.1°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#348018
RGBrgb(52, 128, 24)
HSLhsl(104, 68%, 30%)
HSVhsv(104, 81%, 50%)
CMYKcmyk(59.4%, 0%, 81.3%, 49.8%)
CIE-LABlab(47.28, -42.36, 45.47)
CIE-LCHlch(47.28, 62.14, 132.97°)
OKLaboklab(53.15% -0.1167 0.1012)
OKLCHoklch(53.15% 0.154 139.1)
XYZxyz(9.2998, 16.2336, 3.5073)
Luminance0.1623 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#348018 #641880
analogous
#688018 #348018 #188030
triadic
#348018 #183480 #801834
tetradic
#348018 #186880 #641880 #803018
square
#348018 #186880 #641880 #803018
split-complementary
#348018 #301880 #801868
monochromatic
#0A1A05 #1F4C0E #348018 #49B422 #64DA39

Accessibility & contrast

On white

4.94
#348018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#348018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #348018
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##348018#FFFFFF#000000##FFFFFF
##3480181.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7A6E24
Tritanopia (blue-blind)
#2C7B6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #348018;
/* rgb */ color: rgb(52, 128, 24);
/* oklch */ color: oklch(53.2% 0.154 139.1);
Tailwind
colors: {
  custom: {
    50: '#75a65e',
    500: '#348018',
    950: '#000000',
  },
}
SCSS
$custom: #348018;
$custom-light: #75a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#348018",
  "rgb": {
    "r": 52,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 103.846,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53153,
    "c": 0.15445,
    "h": 139.1
  },
  "luminance": 0.16234
}

Semantic roles & 50–950 ramp

primary
#348018
secondary
#9540B4
accent
#3DEBBC
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #348018

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

Preview Lab → · Contrast checker → · Palette generator →

#348018 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva