#308333#308333

#308333 is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.1% C 0.141 H 143.9°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#308333
RGBrgb(48, 131, 51)
HSLhsl(122, 46%, 35%)
HSVhsv(122, 63%, 51%)
CMYKcmyk(63.4%, 0%, 61.1%, 48.6%)
CIE-LABlab(48.38, -42.01, 35.29)
CIE-LCHlch(48.38, 54.87, 139.97°)
OKLaboklab(54.1% -0.114 0.0832)
OKLCHoklch(54.1% 0.141 143.9)
XYZxyz(9.9322, 17.0990, 5.9084)
Luminance0.1710 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308333 #833080
analogous
#568330 #308333 #30835D
triadic
#308333 #333083 #833330
tetradic
#308333 #305683 #833080 #835D30
square
#308333 #305683 #833080 #835D30
split-complementary
#308333 #5D3083 #833056
monochromatic
#0F2910 #205622 #308333 #40B044 #66C76A

Accessibility & contrast

On white

4.75
#308333 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#308333 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #308333
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308333#FFFFFF#000000##FFFFFF
##3083331.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86772B
Deuteranopia (green-blind)
#7B7039
Tritanopia (blue-blind)
#1F7F72
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #308333;
/* rgb */ color: rgb(48, 131, 51);
/* oklch */ color: oklch(54.1% 0.141 143.9);
Tailwind
colors: {
  custom: {
    50: '#72a86d',
    500: '#308333',
    950: '#000000',
  },
}
SCSS
$custom: #308333;
$custom-light: #72a86d;
$custom-dark: #000000;
JSON
{
  "hex": "#308333",
  "rgb": {
    "r": 48,
    "g": 131,
    "b": 51
  },
  "hsl": {
    "h": 122.169,
    "s": 46.369,
    "l": 35.098
  },
  "oklch": {
    "l": 0.541,
    "c": 0.14109,
    "h": 143.9
  },
  "luminance": 0.171
}

Semantic roles & 50–950 ramp

primary
#308333
secondary
#AE61AB
accent
#52D1D6
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #308333

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

Preview Lab → · Contrast checker → · Palette generator →

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