#308629#308629

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

Color values

HEX#308629
RGBrgb(48, 134, 41)
HSLhsl(115, 53%, 34%)
HSVhsv(115, 69%, 53%)
CMYKcmyk(64.2%, 0%, 69.4%, 47.5%)
CIE-LABlab(49.30, -44.29, 40.94)
CIE-LCHlch(49.30, 60.31, 137.25°)
OKLaboklab(54.82% -0.1207 0.0941)
OKLCHoklch(54.82% 0.153 142.1)
XYZxyz(10.1437, 17.8377, 5.0058)
Luminance0.1784 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308629 #7F2986
analogous
#5F8629 #308629 #298651
triadic
#308629 #293086 #862930
tetradic
#308629 #295F86 #7F2986 #865129
square
#308629 #295F86 #7F2986 #865129
split-complementary
#308629 #512986 #86295F
monochromatic
#0E280C #1F571B #308629 #41B537 #65CD5C

Accessibility & contrast

On white

4.60
#308629 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#308629 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #308629
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308629#FFFFFF#000000##FFFFFF
##3086291.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897A1C
Deuteranopia (green-blind)
#7F7232
Tritanopia (blue-blind)
#218273
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #308629;
/* rgb */ color: rgb(48, 134, 41);
/* oklch */ color: oklch(54.8% 0.153 142.1);
Tailwind
colors: {
  custom: {
    50: '#73aa68',
    500: '#308629',
    950: '#000000',
  },
}
SCSS
$custom: #308629;
$custom-light: #73aa68;
$custom-dark: #000000;
JSON
{
  "hex": "#308629",
  "rgb": {
    "r": 48,
    "g": 134,
    "b": 41
  },
  "hsl": {
    "h": 115.484,
    "s": 53.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54823,
    "c": 0.15304,
    "h": 142.1
  },
  "luminance": 0.17839
}

Semantic roles & 50–950 ramp

primary
#308629
secondary
#AC58B3
accent
#4BDDD2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #308629

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

Preview Lab → · Contrast checker → · Palette generator →

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