#307417#307417

#307417 is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.6% C 0.142 H 139.0°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#307417
RGBrgb(48, 116, 23)
HSLhsl(104, 67%, 27%)
HSVhsv(104, 80%, 45%)
CMYKcmyk(58.6%, 0%, 80.2%, 54.5%)
CIE-LABlab(43.03, -38.87, 41.69)
CIE-LCHlch(43.03, 57.00, 132.99°)
OKLaboklab(49.61% -0.1071 0.0932)
OKLCHoklch(49.61% 0.142 139)
XYZxyz(7.6187, 13.1804, 2.9530)
Luminance0.1318 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307417 #5B1774
analogous
#5F7417 #307417 #17742D
triadic
#307417 #173074 #741730
tetradic
#307417 #175F74 #5B1774 #742D17
square
#307417 #175F74 #5B1774 #742D17
split-complementary
#307417 #2D1774 #74175F
monochromatic
#0B1A05 #1B410D #307417 #45A721 #5CD630

Accessibility & contrast

On white

5.78
#307417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#307417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307417
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307417#FFFFFF#000000##FFFFFF
##3074171.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786902
Deuteranopia (green-blind)
#6F6421
Tritanopia (blue-blind)
#297063
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #307417;
/* rgb */ color: rgb(48, 116, 23);
/* oklch */ color: oklch(49.6% 0.142 139.0);
Tailwind
colors: {
  custom: {
    50: '#719d5c',
    500: '#307417',
    950: '#000000',
  },
}
SCSS
$custom: #307417;
$custom-light: #719d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#307417",
  "rgb": {
    "r": 48,
    "g": 116,
    "b": 23
  },
  "hsl": {
    "h": 103.871,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.49606,
    "c": 0.14198,
    "h": 139
  },
  "luminance": 0.13181
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #307417

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

Preview Lab → · Contrast checker → · Palette generator →

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