#306418#306418

#306418 is a mid, vivid green. Relative luminance 0.098; OKLCH L 45.0% C 0.120 H 137.7°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#306418
RGBrgb(48, 100, 24)
HSLhsl(101, 61%, 24%)
HSVhsv(101, 76%, 39%)
CMYKcmyk(52%, 0%, 76%, 60.8%)
CIE-LABlab(37.50, -32.16, 35.82)
CIE-LCHlch(37.50, 48.13, 131.92°)
OKLaboklab(45.05% -0.089 0.0811)
OKLCHoklch(45.05% 0.12 137.7)
XYZxyz(5.9408, 9.8083, 2.4441)
Luminance0.0981 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306418 #4C1864
analogous
#566418 #306418 #186426
triadic
#306418 #183064 #641830
tetradic
#306418 #185664 #4C1864 #642618
square
#306418 #185664 #4C1864 #642618
split-complementary
#306418 #261864 #641856
monochromatic
#0C1906 #18330C #306418 #489524 #5FC730

Accessibility & contrast

On white

7.09
#306418 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#306418 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #306418
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306418#FFFFFF#000000##FFFFFF
##3064181.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B0B
Deuteranopia (green-blind)
#61571F
Tritanopia (blue-blind)
#2C6055
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #306418;
/* rgb */ color: rgb(48, 100, 24);
/* oklch */ color: oklch(45.0% 0.120 137.7);
Tailwind
colors: {
  custom: {
    50: '#6e915a',
    500: '#306418',
    950: '#000000',
  },
}
SCSS
$custom: #306418;
$custom-light: #6e915a;
$custom-dark: #000000;
JSON
{
  "hex": "#306418",
  "rgb": {
    "r": 48,
    "g": 100,
    "b": 24
  },
  "hsl": {
    "h": 101.053,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.45045,
    "c": 0.12035,
    "h": 137.7
  },
  "luminance": 0.09809
}

Semantic roles & 50–950 ramp

primary
#306418
secondary
#7D3E9A
accent
#43E4B2
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #306418

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

Preview Lab → · Contrast checker → · Palette generator →

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