#307A26#307A26

#307A26 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.4% C 0.140 H 141.4°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#307A26
RGBrgb(48, 122, 38)
HSLhsl(113, 53%, 31%)
HSVhsv(113, 69%, 48%)
CMYKcmyk(60.7%, 0%, 68.9%, 52.2%)
CIE-LABlab(45.20, -39.96, 37.84)
CIE-LCHlch(45.20, 55.04, 136.56°)
OKLaboklab(51.43% -0.1091 0.0872)
OKLCHoklch(51.43% 0.14 141.4)
XYZxyz(8.5279, 14.6866, 4.2187)
Luminance0.1469 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307A26 #70267A
analogous
#5A7A26 #307A26 #267A46
triadic
#307A26 #26307A #7A2630
tetradic
#307A26 #265A7A #70267A #7A4626
square
#307A26 #265A7A #70267A #7A4626
split-complementary
#307A26 #46267A #7A265A
monochromatic
#0B1D09 #1E4B17 #307A26 #42A935 #60C951

Accessibility & contrast

On white

5.33
#307A26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#307A26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307A26
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307A26#FFFFFF#000000##FFFFFF
##307A261.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F1B
Deuteranopia (green-blind)
#74692E
Tritanopia (blue-blind)
#257669
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #307a26;
/* rgb */ color: rgb(48, 122, 38);
/* oklch */ color: oklch(51.4% 0.140 141.4);
Tailwind
colors: {
  custom: {
    50: '#71a165',
    500: '#307a26',
    950: '#000000',
  },
}
SCSS
$custom: #307a26;
$custom-light: #71a165;
$custom-dark: #000000;
JSON
{
  "hex": "#307a26",
  "rgb": {
    "r": 48,
    "g": 122,
    "b": 38
  },
  "hsl": {
    "h": 112.857,
    "s": 52.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.51431,
    "c": 0.13971,
    "h": 141.4
  },
  "luminance": 0.14687
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #307A26

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

Preview Lab → · Contrast checker → · Palette generator →

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