#308521#308521

#308521 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.5% C 0.157 H 141.0°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#308521
RGBrgb(48, 133, 33)
HSLhsl(111, 60%, 33%)
HSVhsv(111, 75%, 52%)
CMYKcmyk(63.9%, 0%, 75.2%, 47.8%)
CIE-LABlab(48.90, -44.64, 43.80)
CIE-LCHlch(48.90, 62.54, 135.55°)
OKLaboklab(54.47% -0.1221 0.099)
OKLCHoklch(54.47% 0.157 141)
XYZxyz(9.8805, 17.5123, 4.2981)
Luminance0.1751 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308521 #762185
analogous
#628521 #308521 #218544
triadic
#308521 #213085 #852130
tetradic
#308521 #216285 #762185 #854421
square
#308521 #216285 #762185 #854421
split-complementary
#308521 #442185 #852162
monochromatic
#0D2309 #1E5415 #308521 #42B62D #61D34D

Accessibility & contrast

On white

4.66
#308521 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#308521 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #308521
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308521#FFFFFF#000000##FFFFFF
##3085211.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#89780F
Deuteranopia (green-blind)
#7E722B
Tritanopia (blue-blind)
#228172
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #308521;
/* rgb */ color: rgb(48, 133, 33);
/* oklch */ color: oklch(54.5% 0.157 141.0);
Tailwind
colors: {
  custom: {
    50: '#74a963',
    500: '#308521',
    950: '#000000',
  },
}
SCSS
$custom: #308521;
$custom-light: #74a963;
$custom-dark: #000000;
JSON
{
  "hex": "#308521",
  "rgb": {
    "r": 48,
    "g": 133,
    "b": 33
  },
  "hsl": {
    "h": 111,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54473,
    "c": 0.15721,
    "h": 141
  },
  "luminance": 0.17513
}

Semantic roles & 50–950 ramp

primary
#308521
secondary
#A64CB6
accent
#44E3CC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #308521

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

Preview Lab → · Contrast checker → · Palette generator →

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