#307F1C#307F1C

#307F1C is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.153 H 140.2°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#307F1C
RGBrgb(48, 127, 28)
HSLhsl(108, 64%, 30%)
HSVhsv(108, 78%, 50%)
CMYKcmyk(62.2%, 0%, 78%, 50.2%)
CIE-LABlab(46.83, -42.77, 43.60)
CIE-LCHlch(46.83, 61.08, 134.45°)
OKLaboklab(52.75% -0.1173 0.0979)
OKLCHoklch(52.75% 0.153 140.2)
XYZxyz(9.0175, 15.8901, 3.6903)
Luminance0.1589 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307F1C #6B1C7F
analogous
#617F1C #307F1C #1C7F3A
triadic
#307F1C #1C307F #7F1C30
tetradic
#307F1C #1C617F #6B1C7F #7F3A1C
square
#307F1C #1C617F #6B1C7F #7F3A1C
split-complementary
#307F1C #3A1C7F #7F1C61
monochromatic
#0A1B06 #1D4D11 #307F1C #43B127 #5ED540

Accessibility & contrast

On white

5.03
#307F1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#307F1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307F1C
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307F1C#FFFFFF#000000##FFFFFF
##307F1C1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837306
Deuteranopia (green-blind)
#796D27
Tritanopia (blue-blind)
#257B6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #307f1c;
/* rgb */ color: rgb(48, 127, 28);
/* oklch */ color: oklch(52.8% 0.153 140.2);
Tailwind
colors: {
  custom: {
    50: '#73a560',
    500: '#307f1c',
    950: '#000000',
  },
}
SCSS
$custom: #307f1c;
$custom-light: #73a560;
$custom-dark: #000000;
JSON
{
  "hex": "#307f1c",
  "rgb": {
    "r": 48,
    "g": 127,
    "b": 28
  },
  "hsl": {
    "h": 107.879,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52752,
    "c": 0.15283,
    "h": 140.2
  },
  "luminance": 0.15891
}

Semantic roles & 50–950 ramp

primary
#307F1C
secondary
#9C44B3
accent
#41E7C5
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #307F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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