#308530#308530

#308530 is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.6% C 0.146 H 143.2°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#308530
RGBrgb(48, 133, 48)
HSLhsl(120, 47%, 35%)
HSVhsv(120, 64%, 52%)
CMYKcmyk(63.9%, 0%, 63.9%, 47.8%)
CIE-LABlab(49.03, -43.15, 37.47)
CIE-LCHlch(49.03, 57.15, 139.04°)
OKLaboklab(54.62% -0.1172 0.0875)
OKLCHoklch(54.62% 0.146 143.2)
XYZxyz(10.1394, 17.6159, 5.6616)
Luminance0.1762 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308530 #853085
analogous
#5A8530 #308530 #30855A
triadic
#308530 #303085 #853030
tetradic
#308530 #305A85 #853085 #855A30
square
#308530 #305A85 #853085 #855A30
split-complementary
#308530 #5A3085 #85305A
monochromatic
#102B10 #205820 #308530 #40B240 #67C867

Accessibility & contrast

On white

4.64
#308530 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#308530 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #308530
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308530#FFFFFF#000000##FFFFFF
##3085301.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887926
Deuteranopia (green-blind)
#7D7237
Tritanopia (blue-blind)
#1F8173
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #308530;
/* rgb */ color: rgb(48, 133, 48);
/* oklch */ color: oklch(54.6% 0.146 143.2);
Tailwind
colors: {
  custom: {
    50: '#73a96c',
    500: '#308530',
    950: '#000000',
  },
}
SCSS
$custom: #308530;
$custom-light: #73a96c;
$custom-dark: #000000;
JSON
{
  "hex": "#308530",
  "rgb": {
    "r": 48,
    "g": 133,
    "b": 48
  },
  "hsl": {
    "h": 120,
    "s": 46.961,
    "l": 35.49
  },
  "oklch": {
    "l": 0.5462,
    "c": 0.1463,
    "h": 143.2
  },
  "luminance": 0.17617
}

Semantic roles & 50–950 ramp

primary
#308530
secondary
#AF61AF
accent
#51D7D7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #308530

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

Preview Lab → · Contrast checker → · Palette generator →

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