#305911#305911

#305911 is a dark, moderate yellow-green. Relative luminance 0.078; OKLCH L 41.8% C 0.110 H 135.0°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#305911
RGBrgb(48, 89, 17)
HSLhsl(94, 68%, 21%)
HSVhsv(94, 81%, 35%)
CMYKcmyk(46.1%, 0%, 80.9%, 65.1%)
CIE-LABlab(33.59, -27.76, 34.74)
CIE-LCHlch(33.59, 44.47, 128.63°)
OKLaboklab(41.82% -0.0776 0.0777)
OKLCHoklch(41.82% 0.11 135)
XYZxyz(4.8924, 7.8133, 1.7805)
Luminance0.0781 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305911 #3A1159
analogous
#545911 #305911 #115916
triadic
#305911 #113059 #591130
tetradic
#305911 #115459 #3A1159 #591611
square
#305911 #115459 #3A1159 #591611
split-complementary
#305911 #161159 #591154
monochromatic
#0E1A05 #142607 #305911 #4C8C1B #67C025

Accessibility & contrast

On white

8.19
#305911 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#305911 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305911
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305911#FFFFFF#000000##FFFFFF
##3059111.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5103
Deuteranopia (green-blind)
#574E18
Tritanopia (blue-blind)
#2F554B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #305911;
/* rgb */ color: rgb(48, 89, 17);
/* oklch */ color: oklch(41.8% 0.110 135.0);
Tailwind
colors: {
  custom: {
    50: '#6d8855',
    500: '#305911',
    950: '#000000',
  },
}
SCSS
$custom: #305911;
$custom-light: #6d8855;
$custom-dark: #000000;
JSON
{
  "hex": "#305911",
  "rgb": {
    "r": 48,
    "g": 89,
    "b": 17
  },
  "hsl": {
    "h": 94.167,
    "s": 67.925,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41823,
    "c": 0.10981,
    "h": 135
  },
  "luminance": 0.07814
}

Semantic roles & 50–950 ramp

primary
#305911
secondary
#693492
accent
#3DEBA0
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #305911

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

Preview Lab → · Contrast checker → · Palette generator →

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