#306011#306011

#306011 is a dark, moderate yellow-green. Relative luminance 0.090; OKLCH L 43.8% C 0.119 H 136.2°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#306011
RGBrgb(48, 96, 17)
HSLhsl(96, 70%, 22%)
HSVhsv(96, 82%, 38%)
CMYKcmyk(50%, 0%, 82.3%, 62.4%)
CIE-LABlab(36.05, -30.93, 37.11)
CIE-LCHlch(36.05, 48.31, 129.80°)
OKLaboklab(43.84% -0.0861 0.0826)
OKLCHoklch(43.84% 0.119 136.2)
XYZxyz(5.5028, 9.0342, 1.9840)
Luminance0.0903 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306011 #411160
analogous
#586011 #306011 #11601A
triadic
#306011 #113060 #601130
tetradic
#306011 #115860 #411160 #601A11
square
#306011 #115860 #411160 #601A11
split-complementary
#306011 #1A1160 #601158
monochromatic
#0D1A05 #162C08 #306011 #4A941A #64C823

Accessibility & contrast

On white

7.48
#306011 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#306011 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #306011
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306011#FFFFFF#000000##FFFFFF
##3060111.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645701
Deuteranopia (green-blind)
#5D531A
Tritanopia (blue-blind)
#2E5C51
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #306011;
/* rgb */ color: rgb(48, 96, 17);
/* oklch */ color: oklch(43.8% 0.119 136.2);
Tailwind
colors: {
  custom: {
    50: '#6e8d56',
    500: '#306011',
    950: '#000000',
  },
}
SCSS
$custom: #306011;
$custom-light: #6e8d56;
$custom-dark: #000000;
JSON
{
  "hex": "#306011",
  "rgb": {
    "r": 48,
    "g": 96,
    "b": 17
  },
  "hsl": {
    "h": 96.456,
    "s": 69.912,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43842,
    "c": 0.11938,
    "h": 136.2
  },
  "luminance": 0.09035
}

Semantic roles & 50–950 ramp

primary
#306011
secondary
#713499
accent
#3BEDA7
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #306011

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

Preview Lab → · Contrast checker → · Palette generator →

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