#308634#308634

#308634 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.9% C 0.144 H 144.0°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#308634
RGBrgb(48, 134, 52)
HSLhsl(123, 47%, 36%)
HSVhsv(123, 64%, 53%)
CMYKcmyk(64.2%, 0%, 61.2%, 47.5%)
CIE-LABlab(49.41, -43.05, 35.98)
CIE-LCHlch(49.41, 56.11, 140.11°)
OKLaboklab(54.95% -0.1167 0.0848)
OKLCHoklch(54.95% 0.144 144)
XYZxyz(10.3632, 17.9255, 6.1620)
Luminance0.1793 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308634 #863082
analogous
#578630 #308634 #30865F
triadic
#308634 #343086 #863430
tetradic
#308634 #305786 #863082 #865F30
square
#308634 #305786 #863082 #865F30
split-complementary
#308634 #5F3086 #863057
monochromatic
#102C11 #205923 #308634 #40B345 #68C96C

Accessibility & contrast

On white

4.58
#308634 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#308634 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308634
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308634#FFFFFF#000000##000000
##3086341.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A2B
Deuteranopia (green-blind)
#7E733B
Tritanopia (blue-blind)
#1E8274
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #308634;
/* rgb */ color: rgb(48, 134, 52);
/* oklch */ color: oklch(54.9% 0.144 144.0);
Tailwind
colors: {
  custom: {
    50: '#73aa6e',
    500: '#308634',
    950: '#000000',
  },
}
SCSS
$custom: #308634;
$custom-light: #73aa6e;
$custom-dark: #000000;
JSON
{
  "hex": "#308634",
  "rgb": {
    "r": 48,
    "g": 134,
    "b": 52
  },
  "hsl": {
    "h": 122.791,
    "s": 47.253,
    "l": 35.686
  },
  "oklch": {
    "l": 0.54946,
    "c": 0.14427,
    "h": 144
  },
  "luminance": 0.17927
}

Semantic roles & 50–950 ramp

primary
#308634
secondary
#B062AC
accent
#51D1D7
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #308634

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

Preview Lab → · Contrast checker → · Palette generator →

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