#308334#308334

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

Color values

HEX#308334
RGBrgb(48, 131, 52)
HSLhsl(123, 46%, 35%)
HSVhsv(123, 63%, 51%)
CMYKcmyk(63.4%, 0%, 60.3%, 48.6%)
CIE-LABlab(48.40, -41.88, 34.81)
CIE-LCHlch(48.40, 54.46, 140.27°)
OKLaboklab(54.11% -0.1136 0.0822)
OKLCHoklch(54.11% 0.14 144.1)
XYZxyz(9.9545, 17.1080, 6.0257)
Luminance0.1711 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308334 #83307F
analogous
#558330 #308334 #30835E
triadic
#308334 #343083 #833430
tetradic
#308334 #305583 #83307F #835E30
square
#308334 #305583 #83307F #835E30
split-complementary
#308334 #5E3083 #833055
monochromatic
#0F2910 #205622 #308334 #40B046 #66C76B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##308334#FFFFFF#000000##FFFFFF
##3083341.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)
#85772C
Deuteranopia (green-blind)
#7B703A
Tritanopia (blue-blind)
#1F7F72
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #308334;
/* rgb */ color: rgb(48, 131, 52);
/* oklch */ color: oklch(54.1% 0.140 144.1);
Tailwind
colors: {
  custom: {
    50: '#72a86e',
    500: '#308334',
    950: '#000000',
  },
}
SCSS
$custom: #308334;
$custom-light: #72a86e;
$custom-dark: #000000;
JSON
{
  "hex": "#308334",
  "rgb": {
    "r": 48,
    "g": 131,
    "b": 52
  },
  "hsl": {
    "h": 122.892,
    "s": 46.369,
    "l": 35.098
  },
  "oklch": {
    "l": 0.54113,
    "c": 0.14022,
    "h": 144.1
  },
  "luminance": 0.17109
}

Semantic roles & 50–950 ramp

primary
#308334
secondary
#AE61AA
accent
#52D0D6
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #308334

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

Preview Lab → · Contrast checker → · Palette generator →

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