#307F34#307F34

#307F34 is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.0% C 0.135 H 144.2°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#307F34
RGBrgb(48, 127, 52)
HSLhsl(123, 45%, 34%)
HSVhsv(123, 62%, 50%)
CMYKcmyk(62.2%, 0%, 59.1%, 50.2%)
CIE-LABlab(47.05, -40.30, 33.23)
CIE-LCHlch(47.05, 52.23, 140.49°)
OKLaboklab(53% -0.1093 0.0788)
OKLCHoklch(53% 0.135 144.2)
XYZxyz(9.4276, 16.0542, 5.8501)
Luminance0.1605 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307F34 #7F307B
analogous
#547F30 #307F34 #307F5C
triadic
#307F34 #34307F #7F3430
tetradic
#307F34 #30547F #7F307B #7F5C30
square
#307F34 #30547F #7F307B #7F5C30
split-complementary
#307F34 #5C307F #7F3054
monochromatic
#0E2610 #1F5322 #307F34 #41AB46 #65C56A

Accessibility & contrast

On white

4.99
#307F34 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#307F34 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307F34
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307F34#FFFFFF#000000##FFFFFF
##307F341.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81742D
Deuteranopia (green-blind)
#776D3A
Tritanopia (blue-blind)
#207C6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #307f34;
/* rgb */ color: rgb(48, 127, 52);
/* oklch */ color: oklch(53.0% 0.135 144.2);
Tailwind
colors: {
  custom: {
    50: '#72a56e',
    500: '#307f34',
    950: '#000000',
  },
}
SCSS
$custom: #307f34;
$custom-light: #72a56e;
$custom-dark: #000000;
JSON
{
  "hex": "#307f34",
  "rgb": {
    "r": 48,
    "g": 127,
    "b": 52
  },
  "hsl": {
    "h": 123.038,
    "s": 45.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.52999,
    "c": 0.13473,
    "h": 144.2
  },
  "luminance": 0.16055
}

Semantic roles & 50–950 ramp

primary
#307F34
secondary
#AC5FA8
accent
#53CED5
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #307F34

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

Preview Lab → · Contrast checker → · Palette generator →

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