#308231#308231

#308231 is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.8% C 0.141 H 143.5°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#308231
RGBrgb(48, 130, 49)
HSLhsl(121, 46%, 35%)
HSVhsv(121, 63%, 51%)
CMYKcmyk(63.1%, 0%, 62.3%, 49%)
CIE-LABlab(48.03, -41.87, 35.85)
CIE-LCHlch(48.03, 55.12, 139.43°)
OKLaboklab(53.8% -0.1137 0.0842)
OKLCHoklch(53.8% 0.141 143.5)
XYZxyz(9.7554, 16.8145, 5.6366)
Luminance0.1681 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308231 #823081
analogous
#588230 #308231 #30825A
triadic
#308231 #313082 #823130
tetradic
#308231 #305882 #823081 #825A30
square
#308231 #305882 #823081 #825A30
split-complementary
#308231 #5A3082 #823058
monochromatic
#0F290F #1F5520 #308231 #41AF42 #66C667

Accessibility & contrast

On white

4.81
#308231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#308231 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #308231
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308231#FFFFFF#000000##FFFFFF
##3082311.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857628
Deuteranopia (green-blind)
#7A6F38
Tritanopia (blue-blind)
#207E71
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #308231;
/* rgb */ color: rgb(48, 130, 49);
/* oklch */ color: oklch(53.8% 0.141 143.5);
Tailwind
colors: {
  custom: {
    50: '#72a76c',
    500: '#308231',
    950: '#000000',
  },
}
SCSS
$custom: #308231;
$custom-light: #72a76c;
$custom-dark: #000000;
JSON
{
  "hex": "#308231",
  "rgb": {
    "r": 48,
    "g": 130,
    "b": 49
  },
  "hsl": {
    "h": 120.732,
    "s": 46.067,
    "l": 34.902
  },
  "oklch": {
    "l": 0.53796,
    "c": 0.14146,
    "h": 143.5
  },
  "luminance": 0.16815
}

Semantic roles & 50–950 ramp

primary
#308231
secondary
#AE60AD
accent
#52D4D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #308231

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

Preview Lab → · Contrast checker → · Palette generator →

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