#306714#306714

#306714 is a mid, vivid yellow-green. Relative luminance 0.104; OKLCH L 45.9% C 0.127 H 137.5°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#306714
RGBrgb(48, 103, 20)
HSLhsl(100, 67%, 24%)
HSVhsv(100, 81%, 40%)
CMYKcmyk(53.4%, 0%, 80.6%, 59.6%)
CIE-LABlab(38.51, -33.75, 38.40)
CIE-LCHlch(38.51, 51.12, 131.32°)
OKLaboklab(45.87% -0.0935 0.0858)
OKLCHoklch(45.87% 0.127 137.5)
XYZxyz(6.1952, 10.3789, 2.3386)
Luminance0.1038 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306714 #4B1467
analogous
#5A6714 #306714 #146722
triadic
#306714 #143067 #671430
tetradic
#306714 #145A67 #4B1467 #672214
square
#306714 #145A67 #4B1467 #672214
split-complementary
#306714 #221467 #67145A
monochromatic
#0C1A05 #18340A #306714 #489A1E #60CD28

Accessibility & contrast

On white

6.83
#306714 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#306714 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306714
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306714#FFFFFF#000000##FFFFFF
##3067141.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E02
Deuteranopia (green-blind)
#63591D
Tritanopia (blue-blind)
#2C6357
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #306714;
/* rgb */ color: rgb(48, 103, 20);
/* oklch */ color: oklch(45.9% 0.127 137.5);
Tailwind
colors: {
  custom: {
    50: '#6f9359',
    500: '#306714',
    950: '#000000',
  },
}
SCSS
$custom: #306714;
$custom-light: #6f9359;
$custom-dark: #000000;
JSON
{
  "hex": "#306714",
  "rgb": {
    "r": 48,
    "g": 103,
    "b": 20
  },
  "hsl": {
    "h": 99.759,
    "s": 67.48,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45874,
    "c": 0.12694,
    "h": 137.5
  },
  "luminance": 0.10379
}

Semantic roles & 50–950 ramp

primary
#306714
secondary
#7C399E
accent
#3DEAB0
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #306714

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

Preview Lab → · Contrast checker → · Palette generator →

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