#307F2A#307F2A

#307F2A is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.9% C 0.143 H 142.2°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#307F2A
RGBrgb(48, 127, 42)
HSLhsl(116, 50%, 33%)
HSVhsv(116, 67%, 50%)
CMYKcmyk(62.2%, 0%, 66.9%, 50.2%)
CIE-LABlab(46.94, -41.51, 37.93)
CIE-LCHlch(46.94, 56.23, 137.58°)
OKLaboklab(52.88% -0.1131 0.0879)
OKLCHoklch(52.88% 0.143 142.2)
XYZxyz(9.2257, 15.9734, 4.7870)
Luminance0.1597 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307F2A #792A7F
analogous
#5A7F2A #307F2A #2A7F4E
triadic
#307F2A #2A307F #7F2A30
tetradic
#307F2A #2A5A7F #792A7F #7F4E2A
square
#307F2A #2A5A7F #792A7F #7F4E2A
split-complementary
#307F2A #4E2A7F #7F2A5A
monochromatic
#0D230C #1F511B #307F2A #41AD39 #62C95B

Accessibility & contrast

On white

5.01
#307F2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#307F2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307F2A
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307F2A#FFFFFF#000000##FFFFFF
##307F2A1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82731F
Deuteranopia (green-blind)
#786D31
Tritanopia (blue-blind)
#237B6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #307f2a;
/* rgb */ color: rgb(48, 127, 42);
/* oklch */ color: oklch(52.9% 0.143 142.2);
Tailwind
colors: {
  custom: {
    50: '#72a568',
    500: '#307f2a',
    950: '#000000',
  },
}
SCSS
$custom: #307f2a;
$custom-light: #72a568;
$custom-dark: #000000;
JSON
{
  "hex": "#307f2a",
  "rgb": {
    "r": 48,
    "g": 127,
    "b": 42
  },
  "hsl": {
    "h": 115.765,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52877,
    "c": 0.14321,
    "h": 142.2
  },
  "luminance": 0.15974
}

Semantic roles & 50–950 ramp

primary
#307F2A
secondary
#A857AE
accent
#4EDAD0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #307F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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