#307C22#307C22

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

Color values

HEX#307C22
RGBrgb(48, 124, 34)
HSLhsl(111, 57%, 31%)
HSVhsv(111, 73%, 49%)
CMYKcmyk(61.3%, 0%, 72.6%, 51.4%)
CIE-LABlab(45.85, -41.13, 40.27)
CIE-LCHlch(45.85, 57.56, 135.61°)
OKLaboklab(51.96% -0.1125 0.0918)
OKLCHoklch(51.96% 0.145 140.8)
XYZxyz(8.7149, 15.1584, 3.9797)
Luminance0.1516 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307C22 #6E227C
analogous
#5D7C22 #307C22 #227C41
triadic
#307C22 #22307C #7C2230
tetradic
#307C22 #225D7C #6E227C #7C4122
square
#307C22 #225D7C #6E227C #7C4122
split-complementary
#307C22 #41227C #7C225D
monochromatic
#0B1C08 #1D4C15 #307C22 #43AC2F #5FCE4B

Accessibility & contrast

On white

5.21
#307C22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#307C22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307C22
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307C22#FFFFFF#000000##FFFFFF
##307C221.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7014
Deuteranopia (green-blind)
#766A2B
Tritanopia (blue-blind)
#25786A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #307c22;
/* rgb */ color: rgb(48, 124, 34);
/* oklch */ color: oklch(52.0% 0.145 140.8);
Tailwind
colors: {
  custom: {
    50: '#72a363',
    500: '#307c22',
    950: '#000000',
  },
}
SCSS
$custom: #307c22;
$custom-light: #72a363;
$custom-dark: #000000;
JSON
{
  "hex": "#307c22",
  "rgb": {
    "r": 48,
    "g": 124,
    "b": 34
  },
  "hsl": {
    "h": 110.667,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51956,
    "c": 0.14523,
    "h": 140.8
  },
  "luminance": 0.15159
}

Semantic roles & 50–950 ramp

primary
#307C22
secondary
#9F4BAF
accent
#48E0C8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #307C22

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

Preview Lab → · Contrast checker → · Palette generator →

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