#307F11#307F11

#307F11 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.7% C 0.158 H 139.2°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#307F11
RGBrgb(48, 127, 17)
HSLhsl(103, 76%, 28%)
HSVhsv(103, 87%, 50%)
CMYKcmyk(62.2%, 0%, 86.6%, 50.2%)
CIE-LABlab(46.77, -43.45, 47.03)
CIE-LCHlch(46.77, 64.03, 132.73°)
OKLaboklab(52.69% -0.1197 0.1034)
OKLCHoklch(52.69% 0.158 139.2)
XYZxyz(8.9091, 15.8468, 3.1194)
Luminance0.1585 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307F11 #60117F
analogous
#677F11 #307F11 #117F29
triadic
#307F11 #11307F #7F1130
tetradic
#307F11 #11677F #60117F #7F2911
square
#307F11 #11677F #60117F #7F2911
split-complementary
#307F11 #29117F #7F1167
monochromatic
#0A1B04 #1C490A #307F11 #44B518 #5DE228

Accessibility & contrast

On white

5.04
#307F11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#307F11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307F11
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307F11#FFFFFF#000000##FFFFFF
##307F111.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#796C20
Tritanopia (blue-blind)
#267A6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #307f11;
/* rgb */ color: rgb(48, 127, 17);
/* oklch */ color: oklch(52.7% 0.158 139.2);
Tailwind
colors: {
  custom: {
    50: '#73a55b',
    500: '#307f11',
    950: '#000000',
  },
}
SCSS
$custom: #307f11;
$custom-light: #73a55b;
$custom-dark: #000000;
JSON
{
  "hex": "#307f11",
  "rgb": {
    "r": 48,
    "g": 127,
    "b": 17
  },
  "hsl": {
    "h": 103.091,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52686,
    "c": 0.15823,
    "h": 139.2
  },
  "luminance": 0.15848
}

Semantic roles & 50–950 ramp

primary
#307F11
secondary
#9137B5
accent
#35F3BD
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #307F11

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

Preview Lab → · Contrast checker → · Palette generator →

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