#307F19#307F19

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

Color values

HEX#307F19
RGBrgb(48, 127, 25)
HSLhsl(106, 67%, 30%)
HSVhsv(106, 80%, 50%)
CMYKcmyk(62.2%, 0%, 80.3%, 50.2%)
CIE-LABlab(46.81, -42.99, 44.64)
CIE-LCHlch(46.81, 61.97, 133.92°)
OKLaboklab(52.73% -0.1181 0.0996)
OKLCHoklch(52.73% 0.155 139.8)
XYZxyz(8.9834, 15.8765, 3.5106)
Luminance0.1588 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307F19 #68197F
analogous
#637F19 #307F19 #197F35
triadic
#307F19 #19307F #7F1930
tetradic
#307F19 #19637F #68197F #7F3519
square
#307F19 #19637F #68197F #7F3519
split-complementary
#307F19 #35197F #7F1963
monochromatic
#0A1A05 #1D4C0F #307F19 #43B223 #5ED83A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##307F19#FFFFFF#000000##FFFFFF
##307F191.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)
#837300
Deuteranopia (green-blind)
#796D25
Tritanopia (blue-blind)
#267B6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #307f19;
/* rgb */ color: rgb(48, 127, 25);
/* oklch */ color: oklch(52.7% 0.154 139.8);
Tailwind
colors: {
  custom: {
    50: '#73a55e',
    500: '#307f19',
    950: '#000000',
  },
}
SCSS
$custom: #307f19;
$custom-light: #73a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#307f19",
  "rgb": {
    "r": 48,
    "g": 127,
    "b": 25
  },
  "hsl": {
    "h": 106.471,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52731,
    "c": 0.1545,
    "h": 139.8
  },
  "luminance": 0.15877
}

Semantic roles & 50–950 ramp

primary
#307F19
secondary
#9941B3
accent
#3EEAC3
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #307F19

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

Preview Lab → · Contrast checker → · Palette generator →

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