#306417#306417

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

Color values

HEX#306417
RGBrgb(48, 100, 23)
HSLhsl(101, 63%, 24%)
HSVhsv(101, 77%, 39%)
CMYKcmyk(52%, 0%, 77%, 60.8%)
CIE-LABlab(37.49, -32.24, 36.22)
CIE-LCHlch(37.49, 48.49, 131.67°)
OKLaboklab(45.04% -0.0893 0.0817)
OKLCHoklch(45.04% 0.121 137.5)
XYZxyz(5.9306, 9.8042, 2.3903)
Luminance0.0980 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306417 #4B1764
analogous
#576417 #306417 #176424
triadic
#306417 #173064 #641730
tetradic
#306417 #175764 #4B1764 #642417
square
#306417 #175764 #4B1764 #642417
split-complementary
#306417 #241764 #641757
monochromatic
#0C1906 #18320C #306417 #489622 #60C82E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##306417#FFFFFF#000000##FFFFFF
##3064171.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)
#675B09
Deuteranopia (green-blind)
#61571F
Tritanopia (blue-blind)
#2D6055
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #306417;
/* rgb */ color: rgb(48, 100, 23);
/* oklch */ color: oklch(45.0% 0.121 137.5);
Tailwind
colors: {
  custom: {
    50: '#6e915a',
    500: '#306417',
    950: '#000000',
  },
}
SCSS
$custom: #306417;
$custom-light: #6e915a;
$custom-dark: #000000;
JSON
{
  "hex": "#306417",
  "rgb": {
    "r": 48,
    "g": 100,
    "b": 23
  },
  "hsl": {
    "h": 100.519,
    "s": 62.602,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45037,
    "c": 0.12103,
    "h": 137.5
  },
  "luminance": 0.09805
}

Semantic roles & 50–950 ramp

primary
#306417
secondary
#7C3C9A
accent
#42E6B1
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #306417

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

Preview Lab → · Contrast checker → · Palette generator →

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