#307C31#307C31

#307C31 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.1% C 0.133 H 143.6°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#307C31
RGBrgb(48, 124, 49)
HSLhsl(121, 44%, 34%)
HSVhsv(121, 61%, 49%)
CMYKcmyk(61.3%, 0%, 60.5%, 51.4%)
CIE-LABlab(45.99, -39.49, 33.51)
CIE-LCHlch(45.99, 51.79, 139.68°)
OKLaboklab(52.12% -0.1072 0.0791)
OKLCHoklch(52.12% 0.133 143.6)
XYZxyz(8.9804, 15.2646, 5.3782)
Luminance0.1527 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307C31 #7C307B
analogous
#557C30 #307C31 #307C57
triadic
#307C31 #31307C #7C3130
tetradic
#307C31 #30557C #7C307B #7C5730
square
#307C31 #30557C #7C307B #7C5730
split-complementary
#307C31 #57307C #7C3055
monochromatic
#0E240E #1F5020 #307C31 #41A842 #64C365

Accessibility & contrast

On white

5.18
#307C31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#307C31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307C31
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307C31#FFFFFF#000000##FFFFFF
##307C311.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7129
Deuteranopia (green-blind)
#756A37
Tritanopia (blue-blind)
#22796C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #307c31;
/* rgb */ color: rgb(48, 124, 49);
/* oklch */ color: oklch(52.1% 0.133 143.6);
Tailwind
colors: {
  custom: {
    50: '#71a36c',
    500: '#307c31',
    950: '#000000',
  },
}
SCSS
$custom: #307c31;
$custom-light: #71a36c;
$custom-dark: #000000;
JSON
{
  "hex": "#307c31",
  "rgb": {
    "r": 48,
    "g": 124,
    "b": 49
  },
  "hsl": {
    "h": 120.789,
    "s": 44.186,
    "l": 33.725
  },
  "oklch": {
    "l": 0.52121,
    "c": 0.13327,
    "h": 143.6
  },
  "luminance": 0.15265
}

Semantic roles & 50–950 ramp

primary
#307C31
secondary
#AA5EA9
accent
#54D2D4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #307C31

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

Preview Lab → · Contrast checker → · Palette generator →

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