#307331#307331

#307331 is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.6% C 0.120 H 143.7°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#307331
RGBrgb(48, 115, 49)
HSLhsl(121, 41%, 32%)
HSVhsv(121, 58%, 45%)
CMYKcmyk(58.3%, 0%, 57.4%, 54.9%)
CIE-LABlab(42.93, -35.77, 29.89)
CIE-LCHlch(42.93, 46.61, 140.12°)
OKLaboklab(49.6% -0.0972 0.0713)
OKLCHoklch(49.6% 0.121 143.7)
XYZxyz(7.9036, 13.1109, 5.0193)
Luminance0.1311 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307331 #733072
analogous
#517330 #307331 #307353
triadic
#307331 #313073 #733130
tetradic
#307331 #305173 #733072 #735330
square
#307331 #305173 #733072 #735330
split-complementary
#307331 #533073 #733051
monochromatic
#0C1D0C #1E481F #307331 #429E43 #61BD62

Accessibility & contrast

On white

5.80
#307331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#307331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307331
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307331#FFFFFF#000000##FFFFFF
##3073311.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75692B
Deuteranopia (green-blind)
#6C6336
Tritanopia (blue-blind)
#257064
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #307331;
/* rgb */ color: rgb(48, 115, 49);
/* oklch */ color: oklch(49.6% 0.120 143.7);
Tailwind
colors: {
  custom: {
    50: '#6f9c6b',
    500: '#307331',
    950: '#000000',
  },
}
SCSS
$custom: #307331;
$custom-light: #6f9c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#307331",
  "rgb": {
    "r": 48,
    "g": 115,
    "b": 49
  },
  "hsl": {
    "h": 120.896,
    "s": 41.104,
    "l": 31.961
  },
  "oklch": {
    "l": 0.49597,
    "c": 0.1205,
    "h": 143.7
  },
  "luminance": 0.13112
}

Semantic roles & 50–950 ramp

primary
#307331
secondary
#A45BA3
accent
#57CFD1
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E07
muted
#7B7E7A

Preview Lab

Preview with #307331

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

Preview Lab → · Contrast checker → · Palette generator →

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