#306913#306913

#306913 is a mid, vivid yellow-green. Relative luminance 0.108; OKLCH L 46.4% C 0.130 H 137.6°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#306913
RGBrgb(48, 105, 19)
HSLhsl(100, 69%, 24%)
HSVhsv(100, 82%, 41%)
CMYKcmyk(54.3%, 0%, 81.9%, 58.8%)
CIE-LABlab(39.20, -34.66, 39.42)
CIE-LCHlch(39.20, 52.49, 131.33°)
OKLaboklab(46.44% -0.0961 0.0878)
OKLCHoklch(46.44% 0.13 137.6)
XYZxyz(6.3878, 10.7781, 2.3597)
Luminance0.1078 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306913 #4C1369
analogous
#5B6913 #306913 #136921
triadic
#306913 #133069 #691330
tetradic
#306913 #135B69 #4C1369 #692113
square
#306913 #135B69 #4C1369 #692113
split-complementary
#306913 #211369 #69135B
monochromatic
#0C1A05 #18350A #306913 #489D1C #5FD126

Accessibility & contrast

On white

6.65
#306913 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#306913 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306913
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306913#FFFFFF#000000##FFFFFF
##3069131.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F00
Deuteranopia (green-blind)
#655B1D
Tritanopia (blue-blind)
#2C6559
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #306913;
/* rgb */ color: rgb(48, 105, 19);
/* oklch */ color: oklch(46.4% 0.130 137.6);
Tailwind
colors: {
  custom: {
    50: '#6f9458',
    500: '#306913',
    950: '#000000',
  },
}
SCSS
$custom: #306913;
$custom-light: #6f9458;
$custom-dark: #000000;
JSON
{
  "hex": "#306913",
  "rgb": {
    "r": 48,
    "g": 105,
    "b": 19
  },
  "hsl": {
    "h": 99.767,
    "s": 69.355,
    "l": 24.314
  },
  "oklch": {
    "l": 0.4644,
    "c": 0.13014,
    "h": 137.6
  },
  "luminance": 0.10779
}

Semantic roles & 50–950 ramp

primary
#306913
secondary
#7D38A0
accent
#3CECB1
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #306913

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

Preview Lab → · Contrast checker → · Palette generator →

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