#308223#308223

#308223 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.6% C 0.152 H 141.1°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#308223
RGBrgb(48, 130, 35)
HSLhsl(112, 58%, 32%)
HSVhsv(112, 73%, 51%)
CMYKcmyk(63.1%, 0%, 73.1%, 49%)
CIE-LABlab(47.90, -43.34, 41.98)
CIE-LCHlch(47.90, 60.34, 135.92°)
OKLaboklab(53.65% -0.1185 0.0955)
OKLCHoklch(53.65% 0.152 141.1)
XYZxyz(9.5045, 16.7141, 4.3151)
Luminance0.1671 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308223 #752382
analogous
#608223 #308223 #238245
triadic
#308223 #233082 #822330
tetradic
#308223 #236082 #752382 #824523
square
#308223 #236082 #752382 #824523
split-complementary
#308223 #452382 #822360
monochromatic
#0C2209 #1E5216 #308223 #42B230 #61D050

Accessibility & contrast

On white

4.84
#308223 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#308223 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #308223
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308223#FFFFFF#000000##FFFFFF
##3082231.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857614
Deuteranopia (green-blind)
#7B6F2C
Tritanopia (blue-blind)
#237E6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #308223;
/* rgb */ color: rgb(48, 130, 35);
/* oklch */ color: oklch(53.6% 0.152 141.1);
Tailwind
colors: {
  custom: {
    50: '#73a764',
    500: '#308223',
    950: '#000000',
  },
}
SCSS
$custom: #308223;
$custom-light: #73a764;
$custom-dark: #000000;
JSON
{
  "hex": "#308223",
  "rgb": {
    "r": 48,
    "g": 130,
    "b": 35
  },
  "hsl": {
    "h": 111.789,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5365,
    "c": 0.15218,
    "h": 141.1
  },
  "luminance": 0.16715
}

Semantic roles & 50–950 ramp

primary
#308223
secondary
#A54DB3
accent
#47E1CC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #308223

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

Preview Lab → · Contrast checker → · Palette generator →

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