#308458#308458

#308458 is a mid, moderate green. Relative luminance 0.178; OKLCH L 55.0% C 0.107 H 157.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#308458
RGBrgb(48, 132, 88)
HSLhsl(149, 47%, 35%)
HSVhsv(149, 64%, 52%)
CMYKcmyk(63.6%, 0%, 33.3%, 48.2%)
CIE-LABlab(49.29, -36.09, 16.47)
CIE-LCHlch(49.29, 39.67, 155.47°)
OKLaboklab(55.04% -0.0982 0.0416)
OKLCHoklch(55.04% 0.107 157)
XYZxyz(11.2306, 17.8344, 12.0811)
Luminance0.1784 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308458 #84305C
analogous
#328430 #308458 #308482
triadic
#308458 #583084 #845830
tetradic
#308458 #303284 #84305C #848230
square
#308458 #303284 #84305C #848230
split-complementary
#308458 #823084 #843032
monochromatic
#0F2A1C #20573A #308458 #40B176 #67C895

Accessibility & contrast

On white

4.60
#308458 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#308458 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #308458
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308458#FFFFFF#000000##FFFFFF
##3084581.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837A55
Deuteranopia (green-blind)
#78725B
Tritanopia (blue-blind)
#068378
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #308458;
/* rgb */ color: rgb(48, 132, 88);
/* oklch */ color: oklch(55.0% 0.107 157.0);
Tailwind
colors: {
  custom: {
    50: '#72a887',
    500: '#308458',
    950: '#000000',
  },
}
SCSS
$custom: #308458;
$custom-light: #72a887;
$custom-dark: #000000;
JSON
{
  "hex": "#308458",
  "rgb": {
    "r": 48,
    "g": 132,
    "b": 88
  },
  "hsl": {
    "h": 148.571,
    "s": 46.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.55036,
    "c": 0.10665,
    "h": 157
  },
  "luminance": 0.17835
}

Semantic roles & 50–950 ramp

primary
#308458
secondary
#AF618A
accent
#5197D6
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #308458

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

Preview Lab → · Contrast checker → · Palette generator →

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