#305511#305511

#305511 is a dark, moderate yellow-green. Relative luminance 0.072; OKLCH L 40.7% C 0.104 H 134.1°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#305511
RGBrgb(48, 85, 17)
HSLhsl(93, 67%, 20%)
HSVhsv(93, 80%, 33%)
CMYKcmyk(43.5%, 0%, 80%, 66.7%)
CIE-LABlab(32.18, -25.88, 33.35)
CIE-LCHlch(32.18, 42.22, 127.81°)
OKLaboklab(40.67% -0.0725 0.0748)
OKLCHoklch(40.67% 0.104 134.1)
XYZxyz(4.5685, 7.1656, 1.6726)
Luminance0.0717 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305511 #361155
analogous
#525511 #305511 #115514
triadic
#305511 #113055 #551130
tetradic
#305511 #115255 #361155 #551411
square
#305511 #115255 #361155 #551411
split-complementary
#305511 #141155 #551152
monochromatic
#0E1A05 #132207 #305511 #4D881B #6ABB25

Accessibility & contrast

On white

8.63
#305511 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#305511 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305511
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305511#FFFFFF#000000##FFFFFF
##3055111.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E05
Deuteranopia (green-blind)
#544B18
Tritanopia (blue-blind)
#305148
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #305511;
/* rgb */ color: rgb(48, 85, 17);
/* oklch */ color: oklch(40.7% 0.104 134.1);
Tailwind
colors: {
  custom: {
    50: '#6c8554',
    500: '#305511',
    950: '#000000',
  },
}
SCSS
$custom: #305511;
$custom-light: #6c8554;
$custom-dark: #000000;
JSON
{
  "hex": "#305511",
  "rgb": {
    "r": 48,
    "g": 85,
    "b": 17
  },
  "hsl": {
    "h": 92.647,
    "s": 66.667,
    "l": 20
  },
  "oklch": {
    "l": 0.40668,
    "c": 0.10419,
    "h": 134.1
  },
  "luminance": 0.07166
}

Semantic roles & 50–950 ramp

primary
#305511
secondary
#65348E
accent
#3EEA9B
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #305511

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

Preview Lab → · Contrast checker → · Palette generator →

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