#307F4B#307F4B

#307F4B is a mid, moderate green. Relative luminance 0.163; OKLCH L 53.4% C 0.112 H 151.8°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#307F4B
RGBrgb(48, 127, 75)
HSLhsl(141, 45%, 34%)
HSVhsv(141, 62%, 50%)
CMYKcmyk(62.2%, 0%, 40.9%, 50.2%)
CIE-LABlab(47.38, -36.56, 21.29)
CIE-LCHlch(47.38, 42.30, 149.78°)
OKLaboklab(53.39% -0.0989 0.053)
OKLCHoklch(53.39% 0.112 151.8)
XYZxyz(10.0775, 16.3141, 9.2731)
Luminance0.1631 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307F4B #7F3064
analogous
#3D7F30 #307F4B #307F73
triadic
#307F4B #4B307F #7F4B30
tetradic
#307F4B #303D7F #7F3064 #7F7330
square
#307F4B #303D7F #7F3064 #7F7330
split-complementary
#307F4B #73307F #7F303D
monochromatic
#0E2617 #1F5331 #307F4B #41AB65 #65C586

Accessibility & contrast

On white

4.93
#307F4B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#307F4B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307F4B
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307F4B#FFFFFF#000000##FFFFFF
##307F4B1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7547
Deuteranopia (green-blind)
#756D4E
Tritanopia (blue-blind)
#167D72
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #307f4b;
/* rgb */ color: rgb(48, 127, 75);
/* oklch */ color: oklch(53.4% 0.112 151.8);
Tailwind
colors: {
  custom: {
    50: '#71a57e',
    500: '#307f4b',
    950: '#000000',
  },
}
SCSS
$custom: #307f4b;
$custom-light: #71a57e;
$custom-dark: #000000;
JSON
{
  "hex": "#307f4b",
  "rgb": {
    "r": 48,
    "g": 127,
    "b": 75
  },
  "hsl": {
    "h": 140.506,
    "s": 45.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.53388,
    "c": 0.1122,
    "h": 151.8
  },
  "luminance": 0.16315
}

Semantic roles & 50–950 ramp

primary
#307F4B
secondary
#AC5F92
accent
#53A8D5
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #307F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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