#307A42#307A42

#307A42 is a mid, moderate green. Relative luminance 0.149; OKLCH L 51.8% C 0.114 H 148.9°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#307A42
RGBrgb(48, 122, 66)
HSLhsl(135, 44%, 33%)
HSVhsv(135, 61%, 48%)
CMYKcmyk(60.7%, 0%, 45.9%, 52.2%)
CIE-LABlab(45.55, -36.06, 23.94)
CIE-LCHlch(45.55, 43.28, 146.42°)
OKLaboklab(51.83% -0.0975 0.0589)
OKLCHoklch(51.83% 0.114 148.9)
XYZxyz(9.1612, 14.9399, 7.5541)
Luminance0.1494 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307A42 #7A3068
analogous
#437A30 #307A42 #307A67
triadic
#307A42 #42307A #7A4230
tetradic
#307A42 #30437A #7A3068 #7A6730
square
#307A42 #30437A #7A3068 #7A6730
split-complementary
#307A42 #67307A #7A3043
monochromatic
#0D2212 #1F4E2A #307A42 #41A65A #63C27A

Accessibility & contrast

On white

5.27
#307A42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#307A42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307A42
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307A42#FFFFFF#000000##FFFFFF
##307A421.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B703E
Deuteranopia (green-blind)
#716946
Tritanopia (blue-blind)
#1D786C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #307a42;
/* rgb */ color: rgb(48, 122, 66);
/* oklch */ color: oklch(51.8% 0.114 148.9);
Tailwind
colors: {
  custom: {
    50: '#70a177',
    500: '#307a42',
    950: '#000000',
  },
}
SCSS
$custom: #307a42;
$custom-light: #70a177;
$custom-dark: #000000;
JSON
{
  "hex": "#307a42",
  "rgb": {
    "r": 48,
    "g": 122,
    "b": 66
  },
  "hsl": {
    "h": 134.595,
    "s": 43.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.51833,
    "c": 0.11391,
    "h": 148.9
  },
  "luminance": 0.14941
}

Semantic roles & 50–950 ramp

primary
#307A42
secondary
#A95D96
accent
#55B4D3
background
#F7FAF7
surface
#EDF3ED
border
#C8CDC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #307A42

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

Preview Lab → · Contrast checker → · Palette generator →

#307A42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva