#308623#308623

#308623 is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.8% C 0.157 H 141.2°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#308623
RGBrgb(48, 134, 35)
HSLhsl(112, 59%, 33%)
HSVhsv(112, 74%, 53%)
CMYKcmyk(64.2%, 0%, 73.9%, 47.5%)
CIE-LABlab(49.25, -44.84, 43.38)
CIE-LCHlch(49.25, 62.39, 135.95°)
OKLaboklab(54.77% -0.1225 0.0984)
OKLCHoklch(54.77% 0.157 141.2)
XYZxyz(10.0469, 17.7990, 4.4959)
Luminance0.1780 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308623 #792386
analogous
#618623 #308623 #238647
triadic
#308623 #233086 #862330
tetradic
#308623 #236186 #792386 #864723
square
#308623 #236186 #792386 #864723
split-complementary
#308623 #472386 #862361
monochromatic
#0D250A #1F5516 #308623 #41B730 #62D252

Accessibility & contrast

On white

4.61
#308623 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#308623 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #308623
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308623#FFFFFF#000000##FFFFFF
##3086231.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897912
Deuteranopia (green-blind)
#7F722D
Tritanopia (blue-blind)
#228273
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #308623;
/* rgb */ color: rgb(48, 134, 35);
/* oklch */ color: oklch(54.8% 0.157 141.2);
Tailwind
colors: {
  custom: {
    50: '#74aa64',
    500: '#308623',
    950: '#000000',
  },
}
SCSS
$custom: #308623;
$custom-light: #74aa64;
$custom-dark: #000000;
JSON
{
  "hex": "#308623",
  "rgb": {
    "r": 48,
    "g": 134,
    "b": 35
  },
  "hsl": {
    "h": 112.121,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54769,
    "c": 0.15717,
    "h": 141.2
  },
  "luminance": 0.178
}

Semantic roles & 50–950 ramp

primary
#308623
secondary
#A84FB5
accent
#46E2CD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #308623

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

Preview Lab → · Contrast checker → · Palette generator →

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