#307817#307817

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

Color values

HEX#307817
RGBrgb(48, 120, 23)
HSLhsl(105, 68%, 28%)
HSVhsv(105, 81%, 47%)
CMYKcmyk(60%, 0%, 80.8%, 52.9%)
CIE-LABlab(44.41, -40.44, 43.02)
CIE-LCHlch(44.41, 59.04, 133.23°)
OKLaboklab(50.74% -0.1114 0.0959)
OKLCHoklch(50.74% 0.147 139.3)
XYZxyz(8.0897, 14.1225, 3.1101)
Luminance0.1412 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307817 #5F1778
analogous
#607817 #307817 #17782E
triadic
#307817 #173078 #781730
tetradic
#307817 #176078 #5F1778 #782E17
square
#307817 #176078 #5F1778 #782E17
split-complementary
#307817 #2E1778 #781760
monochromatic
#0A1A05 #1B450D #307817 #45AB21 #5DD832

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##307817#FFFFFF#000000##FFFFFF
##3078171.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)
#736722
Tritanopia (blue-blind)
#287466
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #307817;
/* rgb */ color: rgb(48, 120, 23);
/* oklch */ color: oklch(50.7% 0.147 139.3);
Tailwind
colors: {
  custom: {
    50: '#72a05d',
    500: '#307817',
    950: '#000000',
  },
}
SCSS
$custom: #307817;
$custom-light: #72a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#307817",
  "rgb": {
    "r": 48,
    "g": 120,
    "b": 23
  },
  "hsl": {
    "h": 104.536,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.5074,
    "c": 0.14698,
    "h": 139.3
  },
  "luminance": 0.14123
}

Semantic roles & 50–950 ramp

primary
#307817
secondary
#903EAD
accent
#3DEBBE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F04
muted
#7B7E79

Preview Lab

Preview with #307817

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

Preview Lab → · Contrast checker → · Palette generator →

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