#305611#305611

#305611 is a dark, moderate yellow-green. Relative luminance 0.073; OKLCH L 41.0% C 0.106 H 134.4°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#305611
RGBrgb(48, 86, 17)
HSLhsl(93, 67%, 20%)
HSVhsv(93, 80%, 34%)
CMYKcmyk(44.2%, 0%, 80.2%, 66.3%)
CIE-LABlab(32.53, -26.36, 33.70)
CIE-LCHlch(32.53, 42.78, 128.03°)
OKLaboklab(40.96% -0.0738 0.0755)
OKLCHoklch(40.96% 0.106 134.4)
XYZxyz(4.6478, 7.3242, 1.6990)
Luminance0.0732 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305611 #371156
analogous
#535611 #305611 #115614
triadic
#305611 #113056 #561130
tetradic
#305611 #115356 #371156 #561411
square
#305611 #115356 #371156 #561411
split-complementary
#305611 #141156 #561153
monochromatic
#0E1A05 #132307 #305611 #4D891B #69BC25

Accessibility & contrast

On white

8.52
#305611 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#305611 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305611
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305611#FFFFFF#000000##FFFFFF
##3056111.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4E04
Deuteranopia (green-blind)
#544B18
Tritanopia (blue-blind)
#2F5249
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #305611;
/* rgb */ color: rgb(48, 86, 17);
/* oklch */ color: oklch(41.0% 0.106 134.4);
Tailwind
colors: {
  custom: {
    50: '#6c8655',
    500: '#305611',
    950: '#000000',
  },
}
SCSS
$custom: #305611;
$custom-light: #6c8655;
$custom-dark: #000000;
JSON
{
  "hex": "#305611",
  "rgb": {
    "r": 48,
    "g": 86,
    "b": 17
  },
  "hsl": {
    "h": 93.043,
    "s": 66.99,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40957,
    "c": 0.10561,
    "h": 134.4
  },
  "luminance": 0.07324
}

Semantic roles & 50–950 ramp

primary
#305611
secondary
#66348F
accent
#3EEA9D
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #305611

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

Preview Lab → · Contrast checker → · Palette generator →

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