#308243#308243

#308243 is a mid, vivid green. Relative luminance 0.170; OKLCH L 54.1% C 0.125 H 148.3°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#308243
RGBrgb(48, 130, 67)
HSLhsl(134, 46%, 35%)
HSVhsv(134, 63%, 51%)
CMYKcmyk(63.1%, 0%, 48.5%, 49%)
CIE-LABlab(48.26, -39.26, 26.84)
CIE-LCHlch(48.26, 47.56, 145.64°)
OKLaboklab(54.06% -0.1061 0.0655)
OKLCHoklch(54.06% 0.125 148.3)
XYZxyz(10.2140, 16.9979, 8.0518)
Luminance0.1700 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308243 #82306F
analogous
#468230 #308243 #30826C
triadic
#308243 #433082 #824330
tetradic
#308243 #304682 #82306F #826C30
square
#308243 #304682 #82306F #826C30
split-complementary
#308243 #6C3082 #823046
monochromatic
#0F2915 #1F552C #308243 #41AF5A #66C67C

Accessibility & contrast

On white

4.77
#308243 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#308243 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #308243
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308243#FFFFFF#000000##FFFFFF
##3082431.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83773E
Deuteranopia (green-blind)
#797047
Tritanopia (blue-blind)
#197F73
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #308243;
/* rgb */ color: rgb(48, 130, 67);
/* oklch */ color: oklch(54.1% 0.125 148.3);
Tailwind
colors: {
  custom: {
    50: '#72a778',
    500: '#308243',
    950: '#000000',
  },
}
SCSS
$custom: #308243;
$custom-light: #72a778;
$custom-dark: #000000;
JSON
{
  "hex": "#308243",
  "rgb": {
    "r": 48,
    "g": 130,
    "b": 67
  },
  "hsl": {
    "h": 133.902,
    "s": 46.067,
    "l": 34.902
  },
  "oklch": {
    "l": 0.54063,
    "c": 0.12468,
    "h": 148.3
  },
  "luminance": 0.16999
}

Semantic roles & 50–950 ramp

primary
#308243
secondary
#AE609C
accent
#52B7D6
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #308243

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

Preview Lab → · Contrast checker → · Palette generator →

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