#307F2C#307F2C

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

Color values

HEX#307F2C
RGBrgb(48, 127, 44)
HSLhsl(117, 49%, 34%)
HSVhsv(117, 65%, 50%)
CMYKcmyk(62.2%, 0%, 65.4%, 50.2%)
CIE-LABlab(46.96, -41.28, 37.02)
CIE-LCHlch(46.96, 55.45, 138.11°)
OKLaboklab(52.9% -0.1124 0.0862)
OKLCHoklch(52.9% 0.142 142.5)
XYZxyz(9.2624, 15.9881, 4.9803)
Luminance0.1599 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307F2C #7B2C7F
analogous
#597F2C #307F2C #2C7F51
triadic
#307F2C #2C307F #7F2C30
tetradic
#307F2C #2C597F #7B2C7F #7F512C
square
#307F2C #2C597F #7B2C7F #7F512C
split-complementary
#307F2C #512C7F #7F2C59
monochromatic
#0E240D #1F521C #307F2C #41AC3C #63C75E

Accessibility & contrast

On white

5.00
#307F2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#307F2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307F2C
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307F2C#FFFFFF#000000##FFFFFF
##307F2C1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827322
Deuteranopia (green-blind)
#786D33
Tritanopia (blue-blind)
#227B6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #307f2c;
/* rgb */ color: rgb(48, 127, 44);
/* oklch */ color: oklch(52.9% 0.142 142.5);
Tailwind
colors: {
  custom: {
    50: '#72a569',
    500: '#307f2c',
    950: '#000000',
  },
}
SCSS
$custom: #307f2c;
$custom-light: #72a569;
$custom-dark: #000000;
JSON
{
  "hex": "#307f2c",
  "rgb": {
    "r": 48,
    "g": 127,
    "b": 44
  },
  "hsl": {
    "h": 117.108,
    "s": 48.538,
    "l": 33.529
  },
  "oklch": {
    "l": 0.52899,
    "c": 0.14161,
    "h": 142.5
  },
  "luminance": 0.15989
}

Semantic roles & 50–950 ramp

primary
#307F2C
secondary
#A959AD
accent
#50D8D2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #307F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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