#307517#307517

#307517 is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.9% C 0.143 H 139.1°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#307517
RGBrgb(48, 117, 23)
HSLhsl(104, 67%, 27%)
HSVhsv(104, 80%, 46%)
CMYKcmyk(59%, 0%, 80.3%, 54.1%)
CIE-LABlab(43.38, -39.27, 42.02)
CIE-LCHlch(43.38, 57.52, 133.06°)
OKLaboklab(49.89% -0.1082 0.0939)
OKLCHoklch(49.89% 0.143 139.1)
XYZxyz(7.7346, 13.4122, 2.9917)
Luminance0.1341 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307517 #5C1775
analogous
#5F7517 #307517 #17752D
triadic
#307517 #173075 #751730
tetradic
#307517 #175F75 #5C1775 #752D17
square
#307517 #175F75 #5C1775 #752D17
split-complementary
#307517 #2D1775 #75175F
monochromatic
#0A1A05 #1B420D #307517 #45A821 #5CD630

Accessibility & contrast

On white

5.70
#307517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#307517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307517
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307517#FFFFFF#000000##FFFFFF
##3075171.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A01
Deuteranopia (green-blind)
#706421
Tritanopia (blue-blind)
#297163
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #307517;
/* rgb */ color: rgb(48, 117, 23);
/* oklch */ color: oklch(49.9% 0.143 139.1);
Tailwind
colors: {
  custom: {
    50: '#719d5c',
    500: '#307517',
    950: '#000000',
  },
}
SCSS
$custom: #307517;
$custom-light: #719d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#307517",
  "rgb": {
    "r": 48,
    "g": 117,
    "b": 23
  },
  "hsl": {
    "h": 104.043,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.4989,
    "c": 0.14324,
    "h": 139.1
  },
  "luminance": 0.13413
}

Semantic roles & 50–950 ramp

primary
#307517
secondary
#8D3DAA
accent
#3EEABC
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #307517

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

Preview Lab → · Contrast checker → · Palette generator →

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