#306313#306313

#306313 is a dark, vivid yellow-green. Relative luminance 0.096; OKLCH L 44.7% C 0.122 H 136.9°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#306313
RGBrgb(48, 99, 19)
HSLhsl(98, 68%, 23%)
HSVhsv(98, 81%, 39%)
CMYKcmyk(51.5%, 0%, 80.8%, 61.2%)
CIE-LABlab(37.11, -32.10, 37.41)
CIE-LCHlch(37.11, 49.29, 130.64°)
OKLaboklab(44.72% -0.0892 0.0836)
OKLCHoklch(44.72% 0.122 136.9)
XYZxyz(5.7981, 9.5987, 2.1632)
Luminance0.0960 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306313 #461363
analogous
#586313 #306313 #13631E
triadic
#306313 #133063 #631330
tetradic
#306313 #135863 #461363 #631E13
square
#306313 #135863 #461363 #631E13
split-complementary
#306313 #1E1363 #631358
monochromatic
#0C1A05 #173009 #306313 #49961D #62CA27

Accessibility & contrast

On white

7.19
#306313 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#306313 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #306313
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306313#FFFFFF#000000##FFFFFF
##3063131.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A02
Deuteranopia (green-blind)
#60561C
Tritanopia (blue-blind)
#2D5F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #306313;
/* rgb */ color: rgb(48, 99, 19);
/* oklch */ color: oklch(44.7% 0.122 136.9);
Tailwind
colors: {
  custom: {
    50: '#6e9057',
    500: '#306313',
    950: '#000000',
  },
}
SCSS
$custom: #306313;
$custom-light: #6e9057;
$custom-dark: #000000;
JSON
{
  "hex": "#306313",
  "rgb": {
    "r": 48,
    "g": 99,
    "b": 19
  },
  "hsl": {
    "h": 98.25,
    "s": 67.797,
    "l": 23.137
  },
  "oklch": {
    "l": 0.44719,
    "c": 0.12222,
    "h": 136.9
  },
  "luminance": 0.09599
}

Semantic roles & 50–950 ramp

primary
#306313
secondary
#77379B
accent
#3DEBAC
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #306313

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

Preview Lab → · Contrast checker → · Palette generator →

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