#307B2C#307B2C

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

Color values

HEX#307B2C
RGBrgb(48, 123, 44)
HSLhsl(117, 47%, 33%)
HSVhsv(117, 64%, 48%)
CMYKcmyk(61%, 0%, 64.2%, 51.8%)
CIE-LABlab(45.60, -39.70, 35.50)
CIE-LCHlch(45.60, 53.26, 138.20°)
OKLaboklab(51.78% -0.1081 0.0829)
OKLCHoklch(51.78% 0.136 142.5)
XYZxyz(8.7560, 14.9754, 4.8115)
Luminance0.1498 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307B2C #772C7B
analogous
#577B2C #307B2C #2C7B4F
triadic
#307B2C #2C307B #7B2C30
tetradic
#307B2C #2C577B #772C7B #7B4F2C
square
#307B2C #2C577B #772C7B #7B4F2C
split-complementary
#307B2C #4F2C7B #7B2C57
monochromatic
#0D210C #1E4E1C #307B2C #42A83C #62C55D

Accessibility & contrast

On white

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

On black

4.00
#307B2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##307B2C#FFFFFF#000000##FFFFFF
##307B2C1.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #307b2c;
/* rgb */ color: rgb(48, 123, 44);
/* oklch */ color: oklch(51.8% 0.136 142.5);
Tailwind
colors: {
  custom: {
    50: '#71a268',
    500: '#307b2c',
    950: '#000000',
  },
}
SCSS
$custom: #307b2c;
$custom-light: #71a268;
$custom-dark: #000000;
JSON
{
  "hex": "#307b2c",
  "rgb": {
    "r": 48,
    "g": 123,
    "b": 44
  },
  "hsl": {
    "h": 116.962,
    "s": 47.305,
    "l": 32.745
  },
  "oklch": {
    "l": 0.51778,
    "c": 0.13623,
    "h": 142.5
  },
  "luminance": 0.14976
}

Semantic roles & 50–950 ramp

primary
#307B2C
secondary
#A758AB
accent
#51D7D0
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #307B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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