#308450#308450

#308450 is a mid, moderate green. Relative luminance 0.177; OKLCH L 54.9% C 0.115 H 153.1°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#308450
RGBrgb(48, 132, 80)
HSLhsl(143, 47%, 35%)
HSVhsv(143, 64%, 52%)
CMYKcmyk(63.6%, 0%, 39.4%, 48.2%)
CIE-LABlab(49.14, -37.73, 20.80)
CIE-LCHlch(49.14, 43.08, 151.13°)
OKLaboklab(54.86% -0.1021 0.0519)
OKLCHoklch(54.86% 0.115 153.1)
XYZxyz(10.9173, 17.7090, 10.4307)
Luminance0.1771 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308450 #843064
analogous
#3A8430 #308450 #30847A
triadic
#308450 #503084 #845030
tetradic
#308450 #303A84 #843064 #847A30
square
#308450 #303A84 #843064 #847A30
split-complementary
#308450 #7A3084 #84303A
monochromatic
#0F2A1A #205735 #308450 #40B16B #67C88C

Accessibility & contrast

On white

4.62
#308450 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#308450 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #308450
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308450#FFFFFF#000000##FFFFFF
##3084501.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84794C
Deuteranopia (green-blind)
#797253
Tritanopia (blue-blind)
#108277
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #308450;
/* rgb */ color: rgb(48, 132, 80);
/* oklch */ color: oklch(54.9% 0.115 153.1);
Tailwind
colors: {
  custom: {
    50: '#72a881',
    500: '#308450',
    950: '#000000',
  },
}
SCSS
$custom: #308450;
$custom-light: #72a881;
$custom-dark: #000000;
JSON
{
  "hex": "#308450",
  "rgb": {
    "r": 48,
    "g": 132,
    "b": 80
  },
  "hsl": {
    "h": 142.857,
    "s": 46.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.5486,
    "c": 0.11457,
    "h": 153.1
  },
  "luminance": 0.1771
}

Semantic roles & 50–950 ramp

primary
#308450
secondary
#AF6191
accent
#51A4D6
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #308450

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

Preview Lab → · Contrast checker → · Palette generator →

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