#307815#307815

#307815 is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.7% C 0.148 H 139.1°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#307815
RGBrgb(48, 120, 21)
HSLhsl(104, 70%, 28%)
HSVhsv(104, 83%, 47%)
CMYKcmyk(60%, 0%, 82.5%, 52.9%)
CIE-LABlab(44.40, -40.57, 43.67)
CIE-LCHlch(44.40, 59.61, 132.89°)
OKLaboklab(50.73% -0.1118 0.097)
OKLCHoklch(50.73% 0.148 139.1)
XYZxyz(8.0704, 14.1148, 3.0085)
Luminance0.1411 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307815 #5D1578
analogous
#627815 #307815 #15782B
triadic
#307815 #153078 #781530
tetradic
#307815 #156278 #5D1578 #782B15
square
#307815 #156278 #5D1578 #782B15
split-complementary
#307815 #2B1578 #781562
monochromatic
#0A1A05 #1B440C #307815 #45AC1E #5CDA2D

Accessibility & contrast

On white

5.49
#307815 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#307815 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307815
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307815#FFFFFF#000000##FFFFFF
##3078151.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#736721
Tritanopia (blue-blind)
#287466
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #307815;
/* rgb */ color: rgb(48, 120, 21);
/* oklch */ color: oklch(50.7% 0.148 139.1);
Tailwind
colors: {
  custom: {
    50: '#72a05c',
    500: '#307815',
    950: '#000000',
  },
}
SCSS
$custom: #307815;
$custom-light: #72a05c;
$custom-dark: #000000;
JSON
{
  "hex": "#307815",
  "rgb": {
    "r": 48,
    "g": 120,
    "b": 21
  },
  "hsl": {
    "h": 103.636,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50728,
    "c": 0.14802,
    "h": 139.1
  },
  "luminance": 0.14115
}

Semantic roles & 50–950 ramp

primary
#307815
secondary
#8E3BAE
accent
#3BEDBC
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090F04
muted
#7B7E79

Preview Lab

Preview with #307815

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

Preview Lab → · Contrast checker → · Palette generator →

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