#307B2A#307B2A

#307B2A is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.8% C 0.138 H 142.1°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#307B2A
RGBrgb(48, 123, 42)
HSLhsl(116, 49%, 32%)
HSVhsv(116, 66%, 48%)
CMYKcmyk(61%, 0%, 65.9%, 51.8%)
CIE-LABlab(45.58, -39.93, 36.42)
CIE-LCHlch(45.58, 54.05, 137.63°)
OKLaboklab(51.76% -0.1088 0.0847)
OKLCHoklch(51.76% 0.138 142.1)
XYZxyz(8.7193, 14.9607, 4.6182)
Luminance0.1496 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307B2A #752A7B
analogous
#587B2A #307B2A #2A7B4D
triadic
#307B2A #2A307B #7B2A30
tetradic
#307B2A #2A587B #752A7B #7B4D2A
square
#307B2A #2A587B #752A7B #7B4D2A
split-complementary
#307B2A #4D2A7B #7B2A58
monochromatic
#0C200B #1E4D1A #307B2A #42A93A #61C659

Accessibility & contrast

On white

5.26
#307B2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #307B2A
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307B2A#FFFFFF#000000##FFFFFF
##307B2A1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7020
Deuteranopia (green-blind)
#746931
Tritanopia (blue-blind)
#24776A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #307b2a;
/* rgb */ color: rgb(48, 123, 42);
/* oklch */ color: oklch(51.8% 0.138 142.1);
Tailwind
colors: {
  custom: {
    50: '#71a267',
    500: '#307b2a',
    950: '#000000',
  },
}
SCSS
$custom: #307b2a;
$custom-light: #71a267;
$custom-dark: #000000;
JSON
{
  "hex": "#307b2a",
  "rgb": {
    "r": 48,
    "g": 123,
    "b": 42
  },
  "hsl": {
    "h": 115.556,
    "s": 49.091,
    "l": 32.353
  },
  "oklch": {
    "l": 0.51755,
    "c": 0.13788,
    "h": 142.1
  },
  "luminance": 0.14961
}

Semantic roles & 50–950 ramp

primary
#307B2A
secondary
#A555AC
accent
#4FD9CE
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #307B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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