#308529#308529

#308529 is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.5% C 0.152 H 142.0°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#308529
RGBrgb(48, 133, 41)
HSLhsl(115, 53%, 34%)
HSVhsv(115, 69%, 52%)
CMYKcmyk(63.9%, 0%, 69.2%, 47.8%)
CIE-LABlab(48.96, -43.91, 40.57)
CIE-LCHlch(48.96, 59.79, 137.26°)
OKLaboklab(54.54% -0.1197 0.0933)
OKLCHoklch(54.54% 0.152 142)
XYZxyz(10.0062, 17.5626, 4.9600)
Luminance0.1756 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308529 #7E2985
analogous
#5E8529 #308529 #298550
triadic
#308529 #293085 #852930
tetradic
#308529 #295E85 #7E2985 #855029
square
#308529 #295E85 #7E2985 #855029
split-complementary
#308529 #502985 #85295E
monochromatic
#0E270C #1F561B #308529 #41B437 #64CD5C

Accessibility & contrast

On white

4.65
#308529 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#308529 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #308529
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308529#FFFFFF#000000##FFFFFF
##3085291.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88791C
Deuteranopia (green-blind)
#7E7231
Tritanopia (blue-blind)
#218172
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #308529;
/* rgb */ color: rgb(48, 133, 41);
/* oklch */ color: oklch(54.5% 0.152 142.0);
Tailwind
colors: {
  custom: {
    50: '#73a968',
    500: '#308529',
    950: '#000000',
  },
}
SCSS
$custom: #308529;
$custom-light: #73a968;
$custom-dark: #000000;
JSON
{
  "hex": "#308529",
  "rgb": {
    "r": 48,
    "g": 133,
    "b": 41
  },
  "hsl": {
    "h": 115.435,
    "s": 52.874,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54544,
    "c": 0.15176,
    "h": 142
  },
  "luminance": 0.17564
}

Semantic roles & 50–950 ramp

primary
#308529
secondary
#AB58B2
accent
#4CDCD1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #308529

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

Preview Lab → · Contrast checker → · Palette generator →

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