#307A4F#307A4F

#307A4F is a mid, moderate green. Relative luminance 0.151; OKLCH L 52.1% C 0.101 H 155.0°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#307A4F
RGBrgb(48, 122, 79)
HSLhsl(145, 44%, 33%)
HSVhsv(145, 61%, 48%)
CMYKcmyk(60.7%, 0%, 35.2%, 52.2%)
CIE-LABlab(45.79, -33.55, 16.88)
CIE-LCHlch(45.79, 37.56, 153.30°)
OKLaboklab(52.1% -0.0912 0.0425)
OKLCHoklch(52.1% 0.101 155)
XYZxyz(9.5890, 15.1110, 9.8070)
Luminance0.1511 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307A4F #7A305B
analogous
#367A30 #307A4F #307A74
triadic
#307A4F #4F307A #7A4F30
tetradic
#307A4F #30367A #7A305B #7A7430
square
#307A4F #30367A #7A305B #7A7430
split-complementary
#307A4F #74307A #7A3036
monochromatic
#0D2216 #1F4E33 #307A4F #41A66B #63C28B

Accessibility & contrast

On white

5.22
#307A4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#307A4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307A4F
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307A4F#FFFFFF#000000##FFFFFF
##307A4F1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A714C
Deuteranopia (green-blind)
#706A52
Tritanopia (blue-blind)
#16796F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #307a4f;
/* rgb */ color: rgb(48, 122, 79);
/* oklch */ color: oklch(52.1% 0.101 155.0);
Tailwind
colors: {
  custom: {
    50: '#70a180',
    500: '#307a4f',
    950: '#000000',
  },
}
SCSS
$custom: #307a4f;
$custom-light: #70a180;
$custom-dark: #000000;
JSON
{
  "hex": "#307a4f",
  "rgb": {
    "r": 48,
    "g": 122,
    "b": 79
  },
  "hsl": {
    "h": 145.135,
    "s": 43.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.52101,
    "c": 0.1006,
    "h": 155
  },
  "luminance": 0.15112
}

Semantic roles & 50–950 ramp

primary
#307A4F
secondary
#A95D89
accent
#559ED3
background
#F7FAF7
surface
#EDF3EE
border
#C8CDC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #307A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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