#308E4C#308E4C

#308E4C is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.5% C 0.133 H 149.8°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#308E4C
RGBrgb(48, 142, 76)
HSLhsl(138, 49%, 37%)
HSVhsv(138, 66%, 56%)
CMYKcmyk(66.2%, 0%, 46.5%, 44.3%)
CIE-LABlab(52.39, -42.61, 27.24)
CIE-LCHlch(52.39, 50.57, 147.41°)
OKLaboklab(57.51% -0.1149 0.0668)
OKLCHoklch(57.51% 0.133 149.8)
XYZxyz(12.1955, 20.4949, 10.1493)
Luminance0.2050 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308E4C #8E3072
analogous
#438E30 #308E4C #308E7B
triadic
#308E4C #4C308E #8E4C30
tetradic
#308E4C #30438E #8E3072 #8E7B30
square
#308E4C #30438E #8E3072 #8E7B30
split-complementary
#308E4C #7B308E #8E3043
monochromatic
#11331B #216034 #308E4C #3FBC64 #6BCD88

Accessibility & contrast

On white

4.12
#308E4C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#308E4C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308E4C
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308E4C#FFFFFF#000000##000000
##308E4C1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8247
Deuteranopia (green-blind)
#837A51
Tritanopia (blue-blind)
#0B8B7E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #308e4c;
/* rgb */ color: rgb(48, 142, 76);
/* oklch */ color: oklch(57.5% 0.133 149.8);
Tailwind
colors: {
  custom: {
    50: '#74b07f',
    500: '#308e4c',
    950: '#000000',
  },
}
SCSS
$custom: #308e4c;
$custom-light: #74b07f;
$custom-dark: #000000;
JSON
{
  "hex": "#308e4c",
  "rgb": {
    "r": 48,
    "g": 142,
    "b": 76
  },
  "hsl": {
    "h": 137.872,
    "s": 49.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.57513,
    "c": 0.13296,
    "h": 149.8
  },
  "luminance": 0.20496
}

Semantic roles & 50–950 ramp

primary
#308E4C
secondary
#B4659D
accent
#4FB0D9
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #308E4C

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

Preview Lab → · Contrast checker → · Palette generator →

#308E4C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva