#307F26#307F26

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

Color values

HEX#307F26
RGBrgb(48, 127, 38)
HSLhsl(113, 54%, 32%)
HSVhsv(113, 70%, 50%)
CMYKcmyk(62.2%, 0%, 70.1%, 50.2%)
CIE-LABlab(46.90, -41.92, 39.67)
CIE-LCHlch(46.90, 57.72, 136.57°)
OKLaboklab(52.84% -0.1144 0.0911)
OKLCHoklch(52.84% 0.146 141.5)
XYZxyz(9.1577, 15.9462, 4.4287)
Luminance0.1595 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307F26 #75267F
analogous
#5D7F26 #307F26 #267F48
triadic
#307F26 #26307F #7F2630
tetradic
#307F26 #265D7F #75267F #7F4826
square
#307F26 #265D7F #75267F #7F4826
split-complementary
#307F26 #48267F #7F265D
monochromatic
#0C210A #1E5018 #307F26 #42AE34 #61CC54

Accessibility & contrast

On white

5.01
#307F26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#307F26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307F26
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307F26#FFFFFF#000000##FFFFFF
##307F261.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82731A
Deuteranopia (green-blind)
#786D2E
Tritanopia (blue-blind)
#247B6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #307f26;
/* rgb */ color: rgb(48, 127, 38);
/* oklch */ color: oklch(52.8% 0.146 141.5);
Tailwind
colors: {
  custom: {
    50: '#72a565',
    500: '#307f26',
    950: '#000000',
  },
}
SCSS
$custom: #307f26;
$custom-light: #72a565;
$custom-dark: #000000;
JSON
{
  "hex": "#307f26",
  "rgb": {
    "r": 48,
    "g": 127,
    "b": 38
  },
  "hsl": {
    "h": 113.258,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52836,
    "c": 0.14625,
    "h": 141.5
  },
  "luminance": 0.15947
}

Semantic roles & 50–950 ramp

primary
#307F26
secondary
#A551B0
accent
#4ADDCD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #307F26

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

Preview Lab → · Contrast checker → · Palette generator →

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