#308445#308445

#308445 is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.6% C 0.126 H 148.7°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#308445
RGBrgb(48, 132, 69)
HSLhsl(135, 47%, 35%)
HSVhsv(135, 64%, 52%)
CMYKcmyk(63.6%, 0%, 47.7%, 48.2%)
CIE-LABlab(48.96, -39.74, 26.64)
CIE-LCHlch(48.96, 47.85, 146.16°)
OKLaboklab(54.65% -0.1073 0.0652)
OKLCHoklch(54.65% 0.126 148.7)
XYZxyz(10.5436, 17.5595, 8.4628)
Luminance0.1756 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308445 #84306F
analogous
#458430 #308445 #30846F
triadic
#308445 #453084 #844530
tetradic
#308445 #304584 #84306F #846F30
square
#308445 #304584 #84306F #846F30
split-complementary
#308445 #6F3084 #843045
monochromatic
#0F2A16 #20572E #308445 #40B15C #67C87F

Accessibility & contrast

On white

4.65
#308445 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#308445 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #308445
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308445#FFFFFF#000000##FFFFFF
##3084451.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857940
Deuteranopia (green-blind)
#7A7149
Tritanopia (blue-blind)
#178175
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #308445;
/* rgb */ color: rgb(48, 132, 69);
/* oklch */ color: oklch(54.6% 0.126 148.7);
Tailwind
colors: {
  custom: {
    50: '#72a87a',
    500: '#308445',
    950: '#000000',
  },
}
SCSS
$custom: #308445;
$custom-light: #72a87a;
$custom-dark: #000000;
JSON
{
  "hex": "#308445",
  "rgb": {
    "r": 48,
    "g": 132,
    "b": 69
  },
  "hsl": {
    "h": 135,
    "s": 46.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.54649,
    "c": 0.12558,
    "h": 148.7
  },
  "luminance": 0.17561
}

Semantic roles & 50–950 ramp

primary
#308445
secondary
#AF619B
accent
#51B5D6
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #308445

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

Preview Lab → · Contrast checker → · Palette generator →

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