#308251#308251

#308251 is a mid, moderate green. Relative luminance 0.172; OKLCH L 54.3% C 0.111 H 154.0°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#308251
RGBrgb(48, 130, 81)
HSLhsl(144, 46%, 35%)
HSVhsv(144, 63%, 51%)
CMYKcmyk(63.1%, 0%, 37.7%, 49%)
CIE-LABlab(48.49, -36.67, 19.37)
CIE-LCHlch(48.49, 41.48, 152.15°)
OKLaboklab(54.34% -0.0994 0.0485)
OKLCHoklch(54.34% 0.111 154)
XYZxyz(10.6859, 17.1867, 10.5372)
Luminance0.1719 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308251 #823061
analogous
#388230 #308251 #30827A
triadic
#308251 #513082 #825130
tetradic
#308251 #303882 #823061 #827A30
square
#308251 #303882 #823061 #827A30
split-complementary
#308251 #7A3082 #823038
monochromatic
#0F2919 #1F5535 #308251 #41AF6D #66C68D

Accessibility & contrast

On white

4.73
#308251 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#308251 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #308251
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308251#FFFFFF#000000##FFFFFF
##3082511.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82784E
Deuteranopia (green-blind)
#777054
Tritanopia (blue-blind)
#108075
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #308251;
/* rgb */ color: rgb(48, 130, 81);
/* oklch */ color: oklch(54.3% 0.111 154.0);
Tailwind
colors: {
  custom: {
    50: '#71a782',
    500: '#308251',
    950: '#000000',
  },
}
SCSS
$custom: #308251;
$custom-light: #71a782;
$custom-dark: #000000;
JSON
{
  "hex": "#308251",
  "rgb": {
    "r": 48,
    "g": 130,
    "b": 81
  },
  "hsl": {
    "h": 144.146,
    "s": 46.067,
    "l": 34.902
  },
  "oklch": {
    "l": 0.54335,
    "c": 0.11061,
    "h": 154
  },
  "luminance": 0.17188
}

Semantic roles & 50–950 ramp

primary
#308251
secondary
#AE608E
accent
#52A1D6
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #308251

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

Preview Lab → · Contrast checker → · Palette generator →

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