#308531#308531

#308531 is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.6% C 0.145 H 143.4°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#308531
RGBrgb(48, 133, 49)
HSLhsl(121, 47%, 35%)
HSVhsv(121, 64%, 52%)
CMYKcmyk(63.9%, 0%, 63.2%, 47.8%)
CIE-LABlab(49.04, -43.04, 37.00)
CIE-LCHlch(49.04, 56.76, 139.31°)
OKLaboklab(54.63% -0.1168 0.0867)
OKLCHoklch(54.63% 0.145 143.4)
XYZxyz(10.1602, 17.6242, 5.7715)
Luminance0.1762 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308531 #853084
analogous
#598530 #308531 #30855B
triadic
#308531 #313085 #853130
tetradic
#308531 #305985 #853084 #855B30
square
#308531 #305985 #853084 #855B30
split-complementary
#308531 #5B3085 #853059
monochromatic
#102B10 #205820 #308531 #40B242 #67C868

Accessibility & contrast

On white

4.64
#308531 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#308531 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #308531
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308531#FFFFFF#000000##FFFFFF
##3085311.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887928
Deuteranopia (green-blind)
#7D7238
Tritanopia (blue-blind)
#1F8173
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #308531;
/* rgb */ color: rgb(48, 133, 49);
/* oklch */ color: oklch(54.6% 0.145 143.4);
Tailwind
colors: {
  custom: {
    50: '#73a96c',
    500: '#308531',
    950: '#000000',
  },
}
SCSS
$custom: #308531;
$custom-light: #73a96c;
$custom-dark: #000000;
JSON
{
  "hex": "#308531",
  "rgb": {
    "r": 48,
    "g": 133,
    "b": 49
  },
  "hsl": {
    "h": 120.706,
    "s": 46.961,
    "l": 35.49
  },
  "oklch": {
    "l": 0.54632,
    "c": 0.14548,
    "h": 143.4
  },
  "luminance": 0.17625
}

Semantic roles & 50–950 ramp

primary
#308531
secondary
#AF61AE
accent
#51D5D7
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #308531

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

Preview Lab → · Contrast checker → · Palette generator →

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