#308256#308256

#308256 is a mid, moderate green. Relative luminance 0.173; OKLCH L 54.4% C 0.106 H 156.5°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#308256
RGBrgb(48, 130, 86)
HSLhsl(148, 46%, 35%)
HSVhsv(148, 63%, 51%)
CMYKcmyk(63.1%, 0%, 33.8%, 49%)
CIE-LABlab(48.59, -35.64, 16.66)
CIE-LCHlch(48.59, 39.34, 154.95°)
OKLaboklab(54.45% -0.0969 0.042)
OKLCHoklch(54.45% 0.106 156.5)
XYZxyz(10.8803, 17.2644, 11.5613)
Luminance0.1727 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308256 #82305C
analogous
#338230 #308256 #30827F
triadic
#308256 #563082 #825630
tetradic
#308256 #303382 #82305C #827F30
square
#308256 #303382 #82305C #827F30
split-complementary
#308256 #7F3082 #823033
monochromatic
#0F291B #1F5538 #308256 #41AF74 #66C693

Accessibility & contrast

On white

4.72
#308256 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#308256 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #308256
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308256#FFFFFF#000000##FFFFFF
##3082561.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817853
Deuteranopia (green-blind)
#767059
Tritanopia (blue-blind)
#0B8176
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #308256;
/* rgb */ color: rgb(48, 130, 86);
/* oklch */ color: oklch(54.4% 0.106 156.5);
Tailwind
colors: {
  custom: {
    50: '#71a786',
    500: '#308256',
    950: '#000000',
  },
}
SCSS
$custom: #308256;
$custom-light: #71a786;
$custom-dark: #000000;
JSON
{
  "hex": "#308256",
  "rgb": {
    "r": 48,
    "g": 130,
    "b": 86
  },
  "hsl": {
    "h": 147.805,
    "s": 46.067,
    "l": 34.902
  },
  "oklch": {
    "l": 0.54447,
    "c": 0.10565,
    "h": 156.5
  },
  "luminance": 0.17266
}

Semantic roles & 50–950 ramp

primary
#308256
secondary
#AE608A
accent
#5299D6
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0B
muted
#7B7F7C

Preview Lab

Preview with #308256

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

Preview Lab → · Contrast checker → · Palette generator →

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