#307215#307215

#307215 is a mid, vivid green. Relative luminance 0.127; OKLCH L 49.0% C 0.141 H 138.6°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#307215
RGBrgb(48, 114, 21)
HSLhsl(103, 69%, 26%)
HSVhsv(103, 82%, 45%)
CMYKcmyk(57.9%, 0%, 81.6%, 55.3%)
CIE-LABlab(42.33, -38.21, 41.71)
CIE-LCHlch(42.33, 56.57, 132.49°)
OKLaboklab(49.02% -0.1055 0.0929)
OKLCHoklch(49.02% 0.141 138.6)
XYZxyz(7.3713, 12.7165, 2.7754)
Luminance0.1272 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307215 #571572
analogous
#5F7215 #307215 #157229
triadic
#307215 #153072 #721530
tetradic
#307215 #155F72 #571572 #722915
square
#307215 #155F72 #571572 #722915
split-complementary
#307215 #291572 #72155F
monochromatic
#0B1A05 #1A3E0B #307215 #46A61F #5CD82A

Accessibility & contrast

On white

5.93
#307215 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#307215 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307215
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307215#FFFFFF#000000##FFFFFF
##3072151.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#6D6220
Tritanopia (blue-blind)
#2A6E61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #307215;
/* rgb */ color: rgb(48, 114, 21);
/* oklch */ color: oklch(49.0% 0.141 138.6);
Tailwind
colors: {
  custom: {
    50: '#719b5b',
    500: '#307215',
    950: '#000000',
  },
}
SCSS
$custom: #307215;
$custom-light: #719b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#307215",
  "rgb": {
    "r": 48,
    "g": 114,
    "b": 21
  },
  "hsl": {
    "h": 102.581,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49024,
    "c": 0.14056,
    "h": 138.6
  },
  "luminance": 0.12717
}

Semantic roles & 50–950 ramp

primary
#307215
secondary
#883BA8
accent
#3CECB9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #307215

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

Preview Lab → · Contrast checker → · Palette generator →

#307215 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva