#308331#308331

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

Color values

HEX#308331
RGBrgb(48, 131, 49)
HSLhsl(121, 46%, 35%)
HSVhsv(121, 63%, 51%)
CMYKcmyk(63.4%, 0%, 62.6%, 48.6%)
CIE-LABlab(48.36, -42.26, 36.24)
CIE-LCHlch(48.36, 55.67, 139.39°)
OKLaboklab(54.08% -0.1147 0.085)
OKLCHoklch(54.08% 0.143 143.5)
XYZxyz(9.8890, 17.0818, 5.6811)
Luminance0.1708 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308331 #833082
analogous
#588330 #308331 #30835B
triadic
#308331 #313083 #833130
tetradic
#308331 #305883 #833082 #835B30
square
#308331 #305883 #833082 #835B30
split-complementary
#308331 #5B3083 #833058
monochromatic
#0F290F #205620 #308331 #40B042 #66C768

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##308331#FFFFFF#000000##FFFFFF
##3083311.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)
#867728
Deuteranopia (green-blind)
#7B7038
Tritanopia (blue-blind)
#207F71
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #308331;
/* rgb */ color: rgb(48, 131, 49);
/* oklch */ color: oklch(54.1% 0.143 143.5);
Tailwind
colors: {
  custom: {
    50: '#72a86c',
    500: '#308331',
    950: '#000000',
  },
}
SCSS
$custom: #308331;
$custom-light: #72a86c;
$custom-dark: #000000;
JSON
{
  "hex": "#308331",
  "rgb": {
    "r": 48,
    "g": 131,
    "b": 49
  },
  "hsl": {
    "h": 120.723,
    "s": 46.369,
    "l": 35.098
  },
  "oklch": {
    "l": 0.54075,
    "c": 0.14281,
    "h": 143.5
  },
  "luminance": 0.17083
}

Semantic roles & 50–950 ramp

primary
#308331
secondary
#AE61AD
accent
#52D4D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #308331

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

Preview Lab → · Contrast checker → · Palette generator →

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