#308820#308820

#308820 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.3% C 0.161 H 140.9°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#308820
RGBrgb(48, 136, 32)
HSLhsl(111, 62%, 33%)
HSVhsv(111, 76%, 53%)
CMYKcmyk(64.7%, 0%, 76.5%, 46.7%)
CIE-LABlab(49.91, -45.83, 45.18)
CIE-LCHlch(49.91, 64.36, 135.40°)
OKLaboklab(55.3% -0.1253 0.1018)
OKLCHoklch(55.3% 0.161 140.9)
XYZxyz(10.2833, 18.3400, 4.3643)
Luminance0.1834 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308820 #782088
analogous
#648820 #308820 #208844
triadic
#308820 #203088 #882030
tetradic
#308820 #206488 #782088 #884420
square
#308820 #206488 #782088 #884420
split-complementary
#308820 #442088 #882064
monochromatic
#0D2509 #1F5614 #308820 #41BA2C #62D54D

Accessibility & contrast

On white

4.50
#308820 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#308820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308820
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308820#FFFFFF#000000##000000
##3088201.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B0B
Deuteranopia (green-blind)
#81742B
Tritanopia (blue-blind)
#228474
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #308820;
/* rgb */ color: rgb(48, 136, 32);
/* oklch */ color: oklch(55.3% 0.161 140.9);
Tailwind
colors: {
  custom: {
    50: '#74ac63',
    500: '#308820',
    950: '#000000',
  },
}
SCSS
$custom: #308820;
$custom-light: #74ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#308820",
  "rgb": {
    "r": 48,
    "g": 136,
    "b": 32
  },
  "hsl": {
    "h": 110.769,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55304,
    "c": 0.16147,
    "h": 140.9
  },
  "luminance": 0.18341
}

Semantic roles & 50–950 ramp

primary
#308820
secondary
#A74CB8
accent
#43E5CC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #308820

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

Preview Lab → · Contrast checker → · Palette generator →

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