#306613#306613

#306613 is a mid, vivid yellow-green. Relative luminance 0.102; OKLCH L 45.6% C 0.126 H 137.2°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#306613
RGBrgb(48, 102, 19)
HSLhsl(99, 69%, 24%)
HSVhsv(99, 81%, 40%)
CMYKcmyk(52.9%, 0%, 81.4%, 60%)
CIE-LABlab(38.16, -33.40, 38.42)
CIE-LCHlch(38.16, 50.90, 131.00°)
OKLaboklab(45.58% -0.0927 0.0857)
OKLCHoklch(45.58% 0.126 137.2)
XYZxyz(6.0876, 10.1777, 2.2597)
Luminance0.1018 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306613 #491366
analogous
#596613 #306613 #13661F
triadic
#306613 #133066 #661330
tetradic
#306613 #135966 #491366 #661F13
square
#306613 #135966 #491366 #661F13
split-complementary
#306613 #1F1366 #661359
monochromatic
#0C1A05 #183209 #306613 #489A1D #61CD26

Accessibility & contrast

On white

6.92
#306613 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#306613 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306613
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306613#FFFFFF#000000##FFFFFF
##3066131.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D01
Deuteranopia (green-blind)
#63581C
Tritanopia (blue-blind)
#2D6256
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #306613;
/* rgb */ color: rgb(48, 102, 19);
/* oklch */ color: oklch(45.6% 0.126 137.2);
Tailwind
colors: {
  custom: {
    50: '#6f9258',
    500: '#306613',
    950: '#000000',
  },
}
SCSS
$custom: #306613;
$custom-light: #6f9258;
$custom-dark: #000000;
JSON
{
  "hex": "#306613",
  "rgb": {
    "r": 48,
    "g": 102,
    "b": 19
  },
  "hsl": {
    "h": 99.036,
    "s": 68.595,
    "l": 23.725
  },
  "oklch": {
    "l": 0.4558,
    "c": 0.12621,
    "h": 137.2
  },
  "luminance": 0.10178
}

Semantic roles & 50–950 ramp

primary
#306613
secondary
#7A379D
accent
#3CEBAE
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #306613

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

Preview Lab → · Contrast checker → · Palette generator →

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