#307131#307131

#307131 is a mid, moderate green. Relative luminance 0.127; OKLCH L 49.0% C 0.118 H 143.8°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#307131
RGBrgb(48, 113, 49)
HSLhsl(121, 40%, 32%)
HSVhsv(121, 58%, 44%)
CMYKcmyk(57.5%, 0%, 56.6%, 55.7%)
CIE-LABlab(42.25, -34.92, 29.07)
CIE-LCHlch(42.25, 45.44, 140.22°)
OKLaboklab(49.03% -0.0949 0.0695)
OKLCHoklch(49.03% 0.118 143.8)
XYZxyz(7.6780, 12.6597, 4.9441)
Luminance0.1266 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307131 #713070
analogous
#507130 #307131 #307152
triadic
#307131 #313071 #713130
tetradic
#307131 #305071 #713070 #715230
square
#307131 #305071 #713070 #715230
split-complementary
#307131 #523071 #713050
monochromatic
#0C1B0C #1E461E #307131 #429C44 #60BB61

Accessibility & contrast

On white

5.95
#307131 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#307131 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307131
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307131#FFFFFF#000000##FFFFFF
##3071311.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73672B
Deuteranopia (green-blind)
#6B6136
Tritanopia (blue-blind)
#266E63
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #307131;
/* rgb */ color: rgb(48, 113, 49);
/* oklch */ color: oklch(49.0% 0.118 143.8);
Tailwind
colors: {
  custom: {
    50: '#6f9a6b',
    500: '#307131',
    950: '#000000',
  },
}
SCSS
$custom: #307131;
$custom-light: #6f9a6b;
$custom-dark: #000000;
JSON
{
  "hex": "#307131",
  "rgb": {
    "r": 48,
    "g": 113,
    "b": 49
  },
  "hsl": {
    "h": 120.923,
    "s": 40.373,
    "l": 31.569
  },
  "oklch": {
    "l": 0.49034,
    "c": 0.11758,
    "h": 143.8
  },
  "luminance": 0.1266
}

Semantic roles & 50–950 ramp

primary
#307131
secondary
#A25BA1
accent
#58CED0
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E07
muted
#7B7E7A

Preview Lab

Preview with #307131

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

Preview Lab → · Contrast checker → · Palette generator →

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