#308249#308249

#308249 is a mid, moderate green. Relative luminance 0.171; OKLCH L 54.2% C 0.119 H 150.5°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#308249
RGBrgb(48, 130, 73)
HSLhsl(138, 46%, 35%)
HSVhsv(138, 63%, 51%)
CMYKcmyk(63.1%, 0%, 43.8%, 49%)
CIE-LABlab(48.35, -38.21, 23.67)
CIE-LCHlch(48.35, 44.95, 148.22°)
OKLaboklab(54.17% -0.1033 0.0585)
OKLCHoklch(54.17% 0.119 150.5)
XYZxyz(10.4034, 17.0737, 9.0493)
Luminance0.1708 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308249 #823069
analogous
#408230 #308249 #308272
triadic
#308249 #493082 #824930
tetradic
#308249 #304082 #823069 #827230
square
#308249 #304082 #823069 #827230
split-complementary
#308249 #723082 #823040
monochromatic
#0F2917 #1F5530 #308249 #41AF62 #66C683

Accessibility & contrast

On white

4.76
#308249 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#308249 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #308249
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308249#FFFFFF#000000##FFFFFF
##3082491.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837745
Deuteranopia (green-blind)
#78704D
Tritanopia (blue-blind)
#168074
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #308249;
/* rgb */ color: rgb(48, 130, 73);
/* oklch */ color: oklch(54.2% 0.119 150.5);
Tailwind
colors: {
  custom: {
    50: '#71a77c',
    500: '#308249',
    950: '#000000',
  },
}
SCSS
$custom: #308249;
$custom-light: #71a77c;
$custom-dark: #000000;
JSON
{
  "hex": "#308249",
  "rgb": {
    "r": 48,
    "g": 130,
    "b": 73
  },
  "hsl": {
    "h": 138.293,
    "s": 46.067,
    "l": 34.902
  },
  "oklch": {
    "l": 0.54172,
    "c": 0.11867,
    "h": 150.5
  },
  "luminance": 0.17075
}

Semantic roles & 50–950 ramp

primary
#308249
secondary
#AE6096
accent
#52AED6
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #308249

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

Preview Lab → · Contrast checker → · Palette generator →

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