#307B26#307B26

#307B26 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.7% C 0.141 H 141.4°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#307B26
RGBrgb(48, 123, 38)
HSLhsl(113, 53%, 32%)
HSVhsv(113, 69%, 48%)
CMYKcmyk(61%, 0%, 69.1%, 51.8%)
CIE-LABlab(45.54, -40.36, 38.21)
CIE-LCHlch(45.54, 55.58, 136.56°)
OKLaboklab(51.71% -0.1102 0.088)
OKLCHoklch(51.71% 0.141 141.4)
XYZxyz(8.6513, 14.9335, 4.2599)
Luminance0.1493 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307B26 #71267B
analogous
#5B7B26 #307B26 #267B47
triadic
#307B26 #26307B #7B2630
tetradic
#307B26 #265B7B #71267B #7B4726
square
#307B26 #265B7B #71267B #7B4726
split-complementary
#307B26 #47267B #7B265B
monochromatic
#0C1D09 #1E4C18 #307B26 #42AA34 #60CA52

Accessibility & contrast

On white

5.27
#307B26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#307B26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307B26
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307B26#FFFFFF#000000##FFFFFF
##307B261.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E701B
Deuteranopia (green-blind)
#75692E
Tritanopia (blue-blind)
#25776A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #307b26;
/* rgb */ color: rgb(48, 123, 38);
/* oklch */ color: oklch(51.7% 0.141 141.4);
Tailwind
colors: {
  custom: {
    50: '#71a265',
    500: '#307b26',
    950: '#000000',
  },
}
SCSS
$custom: #307b26;
$custom-light: #71a265;
$custom-dark: #000000;
JSON
{
  "hex": "#307b26",
  "rgb": {
    "r": 48,
    "g": 123,
    "b": 38
  },
  "hsl": {
    "h": 112.941,
    "s": 52.795,
    "l": 31.569
  },
  "oklch": {
    "l": 0.51713,
    "c": 0.14103,
    "h": 141.4
  },
  "luminance": 0.14934
}

Semantic roles & 50–950 ramp

primary
#307B26
secondary
#A250AD
accent
#4CDCCB
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #307B26

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

Preview Lab → · Contrast checker → · Palette generator →

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