#308522#308522

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

Color values

HEX#308522
RGBrgb(48, 133, 34)
HSLhsl(112, 59%, 33%)
HSVhsv(112, 74%, 52%)
CMYKcmyk(63.9%, 0%, 74.4%, 47.8%)
CIE-LABlab(48.91, -44.56, 43.42)
CIE-LCHlch(48.91, 62.21, 135.74°)
OKLaboklab(54.48% -0.1218 0.0984)
OKLCHoklch(54.48% 0.157 141.1)
XYZxyz(9.8947, 17.5180, 4.3729)
Luminance0.1752 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308522 #772285
analogous
#618522 #308522 #228545
triadic
#308522 #223085 #852230
tetradic
#308522 #226185 #772285 #854522
square
#308522 #226185 #772285 #854522
split-complementary
#308522 #452285 #852261
monochromatic
#0D2409 #1E5416 #308522 #42B62E #62D24F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##308522#FFFFFF#000000##FFFFFF
##3085221.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)
#887811
Deuteranopia (green-blind)
#7E722C
Tritanopia (blue-blind)
#228172
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #308522;
/* rgb */ color: rgb(48, 133, 34);
/* oklch */ color: oklch(54.5% 0.157 141.1);
Tailwind
colors: {
  custom: {
    50: '#74a964',
    500: '#308522',
    950: '#000000',
  },
}
SCSS
$custom: #308522;
$custom-light: #74a964;
$custom-dark: #000000;
JSON
{
  "hex": "#308522",
  "rgb": {
    "r": 48,
    "g": 133,
    "b": 34
  },
  "hsl": {
    "h": 111.515,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54481,
    "c": 0.15658,
    "h": 141.1
  },
  "luminance": 0.17519
}

Semantic roles & 50–950 ramp

primary
#308522
secondary
#A74DB6
accent
#45E2CC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #308522

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

Preview Lab → · Contrast checker → · Palette generator →

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