#306314#306314

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

Color values

HEX#306314
RGBrgb(48, 99, 20)
HSLhsl(99, 66%, 23%)
HSVhsv(99, 80%, 39%)
CMYKcmyk(51.5%, 0%, 79.8%, 61.2%)
CIE-LABlab(37.12, -32.03, 37.04)
CIE-LCHlch(37.12, 48.97, 130.86°)
OKLaboklab(44.73% -0.0889 0.083)
OKLCHoklch(44.73% 0.122 137)
XYZxyz(5.8069, 9.6022, 2.2091)
Luminance0.0960 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306314 #471463
analogous
#576314 #306314 #14631F
triadic
#306314 #143063 #631430
tetradic
#306314 #145763 #471463 #631F14
square
#306314 #145763 #471463 #631F14
split-complementary
#306314 #1F1463 #631457
monochromatic
#0C1905 #17300A #306314 #49961E #61C929

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##306314#FFFFFF#000000##FFFFFF
##3063141.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)
#675A04
Deuteranopia (green-blind)
#60561C
Tritanopia (blue-blind)
#2D5F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #306314;
/* rgb */ color: rgb(48, 99, 20);
/* oklch */ color: oklch(44.7% 0.122 137.0);
Tailwind
colors: {
  custom: {
    50: '#6e9058',
    500: '#306314',
    950: '#000000',
  },
}
SCSS
$custom: #306314;
$custom-light: #6e9058;
$custom-dark: #000000;
JSON
{
  "hex": "#306314",
  "rgb": {
    "r": 48,
    "g": 99,
    "b": 20
  },
  "hsl": {
    "h": 98.734,
    "s": 66.387,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44726,
    "c": 0.12162,
    "h": 137
  },
  "luminance": 0.09603
}

Semantic roles & 50–950 ramp

primary
#306314
secondary
#78389A
accent
#3EE9AD
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #306314

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

Preview Lab → · Contrast checker → · Palette generator →

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