#307C2A#307C2A

#307C2A is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.0% C 0.139 H 142.1°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#307C2A
RGBrgb(48, 124, 42)
HSLhsl(116, 49%, 33%)
HSVhsv(116, 66%, 49%)
CMYKcmyk(61.3%, 0%, 66.1%, 51.4%)
CIE-LABlab(45.92, -40.33, 36.80)
CIE-LCHlch(45.92, 54.60, 137.62°)
OKLaboklab(52.04% -0.1099 0.0855)
OKLCHoklch(52.04% 0.139 142.1)
XYZxyz(8.8440, 15.2100, 4.6598)
Luminance0.1521 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307C2A #762A7C
analogous
#597C2A #307C2A #2A7C4D
triadic
#307C2A #2A307C #7C2A30
tetradic
#307C2A #2A597C #762A7C #7C4D2A
square
#307C2A #2A597C #762A7C #7C4D2A
split-complementary
#307C2A #4D2A7C #7C2A59
monochromatic
#0D210B #1E4E1B #307C2A #42AA39 #61C759

Accessibility & contrast

On white

5.20
#307C2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#307C2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307C2A
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307C2A#FFFFFF#000000##FFFFFF
##307C2A1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7120
Deuteranopia (green-blind)
#756A31
Tritanopia (blue-blind)
#24786B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #307c2a;
/* rgb */ color: rgb(48, 124, 42);
/* oklch */ color: oklch(52.0% 0.139 142.1);
Tailwind
colors: {
  custom: {
    50: '#71a367',
    500: '#307c2a',
    950: '#000000',
  },
}
SCSS
$custom: #307c2a;
$custom-light: #71a367;
$custom-dark: #000000;
JSON
{
  "hex": "#307c2a",
  "rgb": {
    "r": 48,
    "g": 124,
    "b": 42
  },
  "hsl": {
    "h": 115.61,
    "s": 49.398,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52036,
    "c": 0.13922,
    "h": 142.1
  },
  "luminance": 0.15211
}

Semantic roles & 50–950 ramp

primary
#307C2A
secondary
#A655AD
accent
#4FD9CF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #307C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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