#306319#306319

#306319 is a dark, moderate green. Relative luminance 0.096; OKLCH L 44.8% C 0.118 H 137.7°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#306319
RGBrgb(48, 99, 25)
HSLhsl(101, 60%, 24%)
HSVhsv(101, 75%, 39%)
CMYKcmyk(51.5%, 0%, 74.7%, 61.2%)
CIE-LABlab(37.15, -31.64, 35.04)
CIE-LCHlch(37.15, 47.21, 132.07°)
OKLaboklab(44.77% -0.0875 0.0796)
OKLCHoklch(44.77% 0.118 137.7)
XYZxyz(5.8560, 9.6218, 2.4681)
Luminance0.0962 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306319 #4C1963
analogous
#556319 #306319 #196327
triadic
#306319 #193063 #631930
tetradic
#306319 #195563 #4C1963 #632719
square
#306319 #195563 #4C1963 #632719
split-complementary
#306319 #271963 #631955
monochromatic
#0C1806 #18320D #306319 #489425 #5FC532

Accessibility & contrast

On white

7.18
#306319 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#306319 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #306319
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306319#FFFFFF#000000##FFFFFF
##3063191.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A0D
Deuteranopia (green-blind)
#605620
Tritanopia (blue-blind)
#2D5F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #306319;
/* rgb */ color: rgb(48, 99, 25);
/* oklch */ color: oklch(44.8% 0.118 137.7);
Tailwind
colors: {
  custom: {
    50: '#6e905b',
    500: '#306319',
    950: '#000000',
  },
}
SCSS
$custom: #306319;
$custom-light: #6e905b;
$custom-dark: #000000;
JSON
{
  "hex": "#306319",
  "rgb": {
    "r": 48,
    "g": 99,
    "b": 25
  },
  "hsl": {
    "h": 101.351,
    "s": 59.677,
    "l": 24.314
  },
  "oklch": {
    "l": 0.44767,
    "c": 0.11826,
    "h": 137.7
  },
  "luminance": 0.09622
}

Semantic roles & 50–950 ramp

primary
#306319
secondary
#7D3F99
accent
#45E3B2
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #306319

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

Preview Lab → · Contrast checker → · Palette generator →

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