#307418#307418

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

Color values

HEX#307418
RGBrgb(48, 116, 24)
HSLhsl(104, 66%, 27%)
HSVhsv(104, 79%, 45%)
CMYKcmyk(58.6%, 0%, 79.3%, 54.5%)
CIE-LABlab(43.04, -38.80, 41.34)
CIE-LCHlch(43.04, 56.70, 133.19°)
OKLaboklab(49.61% -0.1069 0.0926)
OKLCHoklch(49.61% 0.141 139.1)
XYZxyz(7.6289, 13.1845, 3.0068)
Luminance0.1318 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307418 #5C1874
analogous
#5E7418 #307418 #18742E
triadic
#307418 #183074 #741830
tetradic
#307418 #185E74 #5C1874 #742E18
square
#307418 #185E74 #5C1874 #742E18
split-complementary
#307418 #2E1874 #74185E
monochromatic
#0A1905 #1B410E #307418 #45A722 #5CD532

Accessibility & contrast

On white

5.77
#307418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #307418
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307418#FFFFFF#000000##FFFFFF
##3074181.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #307418;
/* rgb */ color: rgb(48, 116, 24);
/* oklch */ color: oklch(49.6% 0.141 139.1);
Tailwind
colors: {
  custom: {
    50: '#719d5c',
    500: '#307418',
    950: '#000000',
  },
}
SCSS
$custom: #307418;
$custom-light: #719d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#307418",
  "rgb": {
    "r": 48,
    "g": 116,
    "b": 24
  },
  "hsl": {
    "h": 104.348,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.49613,
    "c": 0.14141,
    "h": 139.1
  },
  "luminance": 0.13185
}

Semantic roles & 50–950 ramp

primary
#307418
secondary
#8D3FA9
accent
#3FE9BC
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #307418

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

Preview Lab → · Contrast checker → · Palette generator →

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