#308934#308934

#308934 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.8% C 0.148 H 144.0°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#308934
RGBrgb(48, 137, 52)
HSLhsl(123, 48%, 36%)
HSVhsv(123, 65%, 54%)
CMYKcmyk(65%, 0%, 62%, 46.3%)
CIE-LABlab(50.41, -44.21, 37.14)
CIE-LCHlch(50.41, 57.74, 139.96°)
OKLaboklab(55.78% -0.1199 0.0872)
OKLCHoklch(55.78% 0.148 144)
XYZxyz(10.7838, 18.7666, 6.3022)
Luminance0.1877 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308934 #893085
analogous
#598930 #308934 #308961
triadic
#308934 #343089 #893430
tetradic
#308934 #305989 #893085 #896130
square
#308934 #305989 #893085 #896130
split-complementary
#308934 #613089 #893059
monochromatic
#102E12 #205C23 #308934 #40B645 #69CA6D

Accessibility & contrast

On white

4.42
#308934 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#308934 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308934
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308934#FFFFFF#000000##000000
##3089341.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D2B
Deuteranopia (green-blind)
#81753B
Tritanopia (blue-blind)
#1C8577
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #308934;
/* rgb */ color: rgb(48, 137, 52);
/* oklch */ color: oklch(55.8% 0.148 144.0);
Tailwind
colors: {
  custom: {
    50: '#74ac6f',
    500: '#308934',
    950: '#000000',
  },
}
SCSS
$custom: #308934;
$custom-light: #74ac6f;
$custom-dark: #000000;
JSON
{
  "hex": "#308934",
  "rgb": {
    "r": 48,
    "g": 137,
    "b": 52
  },
  "hsl": {
    "h": 122.697,
    "s": 48.108,
    "l": 36.275
  },
  "oklch": {
    "l": 0.55778,
    "c": 0.14826,
    "h": 144
  },
  "luminance": 0.18768
}

Semantic roles & 50–950 ramp

primary
#308934
secondary
#B263AE
accent
#50D2D8
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #308934

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

Preview Lab → · Contrast checker → · Palette generator →

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