#307B24#307B24

#307B24 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.7% C 0.143 H 141.1°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#307B24
RGBrgb(48, 123, 36)
HSLhsl(112, 55%, 31%)
HSVhsv(112, 71%, 48%)
CMYKcmyk(61%, 0%, 70.7%, 51.8%)
CIE-LABlab(45.53, -40.55, 39.07)
CIE-LCHlch(45.53, 56.32, 136.07°)
OKLaboklab(51.69% -0.1109 0.0896)
OKLCHoklch(51.69% 0.143 141.1)
XYZxyz(8.6199, 14.9209, 4.0945)
Luminance0.1492 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307B24 #6F247B
analogous
#5B7B24 #307B24 #247B43
triadic
#307B24 #24307B #7B2430
tetradic
#307B24 #245B7B #6F247B #7B4324
square
#307B24 #245B7B #6F247B #7B4324
split-complementary
#307B24 #43247B #7B245B
monochromatic
#0B1C08 #1E4C16 #307B24 #42AA32 #5FCB4E

Accessibility & contrast

On white

5.27
#307B24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#307B24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307B24
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307B24#FFFFFF#000000##FFFFFF
##307B241.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7018
Deuteranopia (green-blind)
#75692C
Tritanopia (blue-blind)
#257769
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #307b24;
/* rgb */ color: rgb(48, 123, 36);
/* oklch */ color: oklch(51.7% 0.143 141.1);
Tailwind
colors: {
  custom: {
    50: '#72a264',
    500: '#307b24',
    950: '#000000',
  },
}
SCSS
$custom: #307b24;
$custom-light: #72a264;
$custom-dark: #000000;
JSON
{
  "hex": "#307b24",
  "rgb": {
    "r": 48,
    "g": 123,
    "b": 36
  },
  "hsl": {
    "h": 111.724,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.51693,
    "c": 0.14252,
    "h": 141.1
  },
  "luminance": 0.14922
}

Semantic roles & 50–950 ramp

primary
#307B24
secondary
#A04DAD
accent
#4ADECA
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #307B24

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

Preview Lab → · Contrast checker → · Palette generator →

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