#308229#308229

#308229 is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.7% C 0.148 H 142.0°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#308229
RGBrgb(48, 130, 41)
HSLhsl(115, 52%, 34%)
HSVhsv(115, 68%, 51%)
CMYKcmyk(63.1%, 0%, 68.5%, 49%)
CIE-LABlab(47.95, -42.77, 39.48)
CIE-LCHlch(47.95, 58.21, 137.29°)
OKLaboklab(53.71% -0.1166 0.091)
OKLCHoklch(53.71% 0.148 142)
XYZxyz(9.6013, 16.7528, 4.8250)
Luminance0.1675 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308229 #7B2982
analogous
#5C8229 #308229 #29824E
triadic
#308229 #293082 #822930
tetradic
#308229 #295C82 #7B2982 #824E29
square
#308229 #295C82 #7B2982 #824E29
split-complementary
#308229 #4E2982 #82295C
monochromatic
#0E250C #1F531A #308229 #41B138 #63CB5A

Accessibility & contrast

On white

4.83
#308229 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#308229 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #308229
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308229#FFFFFF#000000##FFFFFF
##3082291.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85761D
Deuteranopia (green-blind)
#7B6F31
Tritanopia (blue-blind)
#227E70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #308229;
/* rgb */ color: rgb(48, 130, 41);
/* oklch */ color: oklch(53.7% 0.148 142.0);
Tailwind
colors: {
  custom: {
    50: '#73a767',
    500: '#308229',
    950: '#000000',
  },
}
SCSS
$custom: #308229;
$custom-light: #73a767;
$custom-dark: #000000;
JSON
{
  "hex": "#308229",
  "rgb": {
    "r": 48,
    "g": 130,
    "b": 41
  },
  "hsl": {
    "h": 115.281,
    "s": 52.047,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53706,
    "c": 0.1479,
    "h": 142
  },
  "luminance": 0.16754
}

Semantic roles & 50–950 ramp

primary
#308229
secondary
#A956B0
accent
#4CDBD0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #308229

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

Preview Lab → · Contrast checker → · Palette generator →

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