#306514#306514

#306514 is a mid, vivid yellow-green. Relative luminance 0.100; OKLCH L 45.3% C 0.124 H 137.2°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#306514
RGBrgb(48, 101, 20)
HSLhsl(99, 67%, 24%)
HSVhsv(99, 80%, 40%)
CMYKcmyk(52.5%, 0%, 80.2%, 60.4%)
CIE-LABlab(37.82, -32.90, 37.72)
CIE-LCHlch(37.82, 50.05, 131.09°)
OKLaboklab(45.3% -0.0912 0.0844)
OKLCHoklch(45.3% 0.124 137.2)
XYZxyz(5.9987, 9.9858, 2.2730)
Luminance0.0999 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306514 #491465
analogous
#586514 #306514 #146520
triadic
#306514 #143065 #651430
tetradic
#306514 #145865 #491465 #652014
square
#306514 #145865 #491465 #652014
split-complementary
#306514 #201465 #651458
monochromatic
#0C1A05 #18320A #306514 #48981E #61CB28

Accessibility & contrast

On white

7.01
#306514 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#306514 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306514
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306514#FFFFFF#000000##FFFFFF
##3065141.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C03
Deuteranopia (green-blind)
#62571D
Tritanopia (blue-blind)
#2D6156
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #306514;
/* rgb */ color: rgb(48, 101, 20);
/* oklch */ color: oklch(45.3% 0.124 137.2);
Tailwind
colors: {
  custom: {
    50: '#6e9158',
    500: '#306514',
    950: '#000000',
  },
}
SCSS
$custom: #306514;
$custom-light: #6e9158;
$custom-dark: #000000;
JSON
{
  "hex": "#306514",
  "rgb": {
    "r": 48,
    "g": 101,
    "b": 20
  },
  "hsl": {
    "h": 99.259,
    "s": 66.942,
    "l": 23.725
  },
  "oklch": {
    "l": 0.453,
    "c": 0.12429,
    "h": 137.2
  },
  "luminance": 0.09986
}

Semantic roles & 50–950 ramp

primary
#306514
secondary
#7A399C
accent
#3EEAAE
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #306514

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

Preview Lab → · Contrast checker → · Palette generator →

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